Hi Kai,

I mean it does not find the header files from Qt only in the editor and 
marks them as "not found" files. On the other side I was able to build 
the project executing manually 'qmake' and then 'make' in projects build 
folder.

Nevertheless, It seems it was a problem with qmake location. QtCreator 
has automatically found qmake in /usr/bin/qmake but when I did manually 
setup the path to same executable in /opt/local/bin/qmake everything now 
works fine and I can build and run the project from within QtCreator.

Regards

Simeon



On 1/12/12 7:37 PM, [email protected] wrote:
> Hi Simeon,
>
> what exactly do you mean with "Qt Creator cannot find any Qt header files"? 
> Does your app compile? If not, you should check the output of qmake -query, 
> specifically whether  /opt/local/include is listed there.
>
> Regards
>
> Kai
>
> --
> Kai Koehne
> Software Engineer
> Nokia, Qt Development Frameworks
>
> Nokia gate5 GmbH
> Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
> Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
> Umsatzsteueridentifikationsnummer: DE 812 845 193
> Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
> ________________________________________
> From: [email protected] 
> [[email protected]] on behalf of ext 
> Simeon Mitev [[email protected]]
> Sent: Thursday, January 12, 2012 5:16 PM
> To: [email protected]
> Subject: [Qt-creator] qtreator does not find any qt header files
>
> environment: MacOS Snow Leopard, Qt 4.8.0 open source, QtCreator 2.4.0
>
> Hi all,
>
> I did install the open source version of Qt 4.8.0 libraries using
> macport qt4-mac-devel. QtCreator 2.4.0 I did download from the website
> of nokia.
>
> QtCreator has properly found qmake but cannot find any Qt header files.
> They are all located in /opt/local/include. I can make links to them in
> /usr/local/include but was wondering if there is an option to instruct
> QtCreator where to search for.
>
>   From command prompt I can build the app and it runs fine.
>
> Any ideas? Thank you very much in advance.
>
> @Simeon
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.qt.nokia.com/mailman/listinfo/qt-creator
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.qt.nokia.com/mailman/listinfo/qt-creator
>

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

Reply via email to