[Qt-creator] registering external libraries

Richard Baron Penman richardbp+qt at gmail.com
Tue Mar 17 00:44:15 CET 2009


On Tue, Mar 17, 2009 at 6:40 AM, Andre Poenitz <
andre.poenitz at mathematik.tu-chemnitz.de> wrote:

> On Mon, Mar 16, 2009 at 09:38:07PM +1100, Richard Baron Penman wrote:
> > [...] Can you think of a reason why Qt Creator would not interpret the
> values
> > correctly (such as spaces in the path)?
>
> While Qt Creator itself works with spaces in paths, a few of the
> tools it uses don't. So in general I would recommend to play safe
> and not use them.
>
> Andre'
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>


hello,

Some of my paths do have spaces which breaks QMake. So my workaround has
been to use the short form: C:\Progra~1\...'
But I have found that even paths without spaces do not work. I also had
environmental variables in the paths and have replaced them with the real
path, but Qt Creator still fails to make use of them.

FYI, the exact line in my pro file now is 'INCLUDEPATH +=
C:\OpenSceneGraph\svn\include'

Another potential cause - the header files in my external library do not end
in '.h', instead they are just 'MyClass'. Is Qt Creator expecting some kind
of suffix on the header files?

Is there an alternative way to force including a path besides in the pro
file?
Is there perhaps a configuration file I can change, such as in
lib\qtcreator\plugins\Nokia\*.pluginspec?

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090317/5e6e3b3e/attachment.html 


More information about the Qt-creator-old mailing list