On Oct 13, 2009, at 4:44 PM, ext Edd Barrett wrote:

> On Tue, Oct 13, 2009 at 04:24:54PM +0200, Daniel Teske wrote:
>> ext Edd Barrett schrieb:
>>> Hi,
>>>
>>> I am working on a port of qtcreator to OpenBSD. I have the  
>>> application
>>> building after a couple of trivial patches:
>>>
>>> http://students.dec.bournemouth.ac.uk/ebarrett/files/patch-src_libs_extensionsystem_extensionsystem_pro
>>> http://students.dec.bournemouth.ac.uk/ebarrett/files/patch-src_libs_utils_process_stub_unix_c
>>>
>>> However, upon starting the app, file->new does nothing and nothing  
>>> is
>>> spewed onto the console.
>>>
>>> I have been examining ktrace outputs for anything obvious with no  
>>> luck.
>>> Next I would like to build a binary with debug symbols, but it  
>>> seems the
>>> documented way of adding "CONFIG += debug" to the pro does not work.
>>>
>>> I also tried various CFLAGS, CXXFLAGS and even CC kludges in the  
>>> root
>>> Makefile with no luck.
>>>
>>> a) Any ideas why file->new does not work.
>>> b) Any ideas how to make a debug binary?
>>>
>>> Thanks
>>>
>>>
>> Hmm, check Help/About Plugins for error output from the plugin  
>> loading.
>> My guess is that no plugin is loaded, though I think that should be
>> noticeable in more ways. :)
>
> You are absolutely correct! Only one plugin loads, the core one. The  
> one
> related to a new project did not load because the 'find' module did  
> not.
> Unfortunately there is little info on why this does not load:

Yeah, unfortunately the QPluginLoader spits out more or less useless  
error messages most of the time.
There are several possible reasons why this might not load, most  
prominent:
* it cannot resolve one of the libraries it wants to link with, most  
probably you can try to check with ldd what it finds, and if something  
is missing
* it is not recognized as a valid Qt plugin by the Qt Plugin Loader,  
which is usually the case if the library was compiled/linked against a  
different Qt than it is run against

> ---8<---
> Cannot load library /usr/local/lib/qtcreator/plugins/Nokia/libFind.so:
> (Cannot load specified object)
> Library base name: /usr/local/lib/qtcreator/plugins/Nokia/libFind.so
> ---8<---
>
> This exists and looks like a shared library to me:
> ---8<---
> ire% file /usr/local/lib/qtcreator/plugins/Nokia/libFind.so
> /usr/local/lib/qtcreator/plugins/Nokia/libFind.so: ELF 32-bit LSB  
> shared
> object, Intel 80386, version 1, for OpenBSD, dynamically linked, not
> stripped
> ire% ls -al /usr/local/lib/qtcreator/plugins/Nokia/libFind.so
> -rwxr-xr-x  1 root  bin  278747 Oct 13 14:08
> /usr/local/lib/qtcreator/plugins/Nokia/libFind.so
> ire% nm /usr/local/lib/qtcreator/plugins/Nokia/libFind.so
> 00029c02 t .L12
> 000299f6 t .L12
> 00029d62 t .L12
> 00029c20 t .L13
> 00029d95 t .L13
> ...
> ---8<---
>
> Odd. Perhaps you have an idea as to why this is not loading? Looks  
> like
> it worked on FreeBSD
> (http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/qtcreator/). They  
> do
> not appear to have patched the module loader.
>
> Hmm...
>
> -- 
> Best Regards
> Edd Barrett
>
> http://students.dec.bmth.ac.uk/ebarrett
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax    +49 (0)30 6392 3256
E-mail [email protected]





_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to