[Interest] Makefile target for mocinclude.tmp using inconsistent slashes

James Cotton peabody124 at gmail.com
Mon Apr 22 20:42:29 CEST 2013


I'm having an issue on windows where the mocinclude.tmp makefile command
lists the Qt includes like this

        @echo -IC:/TauLabs/ground/gcs/src/plugins/uavobjects>>
debug/mocinclude.tmp
        @echo -IC:/TauLabs/ground/gcs/src/libs/libqxt/src/core>>
debug/mocinclude.tmp
        @echo -IC:\TauLabs\tools\Qt5.0.2\5.0.2\mingw47_32\include>>
debug/mocinclude.tmp
        @echo -IC:\TauLabs\tools\Qt5.0.2\5.0.2\mingw47_32\include/QtSvg>>
debug/mocinclude.tmp

the later two are not mangled by echo to create this in mocinclude.tmp

-IC:/TauLabs/ground/gcs/src/libs/libqxt/src/core
-IC:/TauLabs/ground/gcs/src/libs/libqxt/src/core/logengines
-IC: TauLabstoolsQt5.0.25.0.2mingw47_32include
-IC: TauLabstoolsQt5.0.25.0.2mingw47_32include/QtSvg

which obviously dosen't work.  This is using makespec win32-g++ I've
checked that the INCLUDEPATH passed to moc.prf looks like the former.
 Should moc.prf be taking care of converting the paths to use / or escaping
the slashes?  Alternatively when using msys should the QT_INCLUDE_PATH be
forced to use / instead?

Any suggestions would be great,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130422/1a20fae1/attachment.html>


More information about the Interest mailing list