[Qt-interest] Qt 4.7 (SDK) on Mac: wrong include path warning? (SOLVED)

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Wed Oct 27 09:28:44 CEST 2010


On 2010-10-26 ITS-CMT-SUI-SL-SFR-FIN-DEV Knoll Oliver, ITS-CMT-SUI-SL-SFR-FIN-DEV wrote:

> Hi,
> 
> yesterday I installed the qt-sdk-mac-opensource-2010.05.dmg on my home
> Mac and re-compiled my application with it. But after running qmake
> the produced Makefile tries to include (-I) some non-existing path:
> 
>   /tmp/qt-everywhere-opensource-src-4.7.0/include
> (or something like that - it seems like that is the place where the
> shipped Qt Framework was build).

For the record: the exact warning message is this:

  ld: warning: directory '/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-4.7.0/lib' following -L not found
  ld: warning: directory '/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-4.7.0/lib' following -F not found

I found the following Qt issue already:

  http://bugreports.qt.nokia.com/browse/QTBUG-13462

The suggested workaround

  perl -pi -e 's,-F/tmp/qt-stuff-\d+/source/qt-everywhere-\w+-src-\d\.\d\.\d/lib,,g' `find /Library/Frameworks -name *.prl`
  perl -pi -e 's,-L/tmp/qt-stuff-\d+/source/qt-everywhere-\w+-src-\d\.\d\.\d/lib,,g' `find /Library/Frameworks -name *.prl`

worked for me.

According to the issue this is going to be fixed in the upcoming Qt 4.7.1.

Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22





More information about the Qt-interest-old mailing list