[Interest] Qt 5.0 and Mac OS X

Sami Maisniemi sami.maisniemi at katelabs.com
Tue Feb 5 22:45:20 CET 2013


On Feb 4, 2013, at 11:16 PM, Nikos Chantziaras wrote:

> On 04/02/13 23:04, Sami Maisniemi wrote:
>> Hi,
>> 
>> I installed Qt 5.0.1 with default settings, but I am not able to rebuild any projects, because Qt Creator cannot find qmake:
>> 
>> "The Qt version is invalid: qmake does not exist or is not executable"
>> 
>> "File not found: The qmake command "/usr/bin/qmake" was not found or is not executable"
> 
> You can configure the path to qmake in the settings (Build & Run - Qt 
> Versions.)
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest


Thanks for help :) I updated the path and it seems to work, but the projects are still more or less broken, though nothing has been changed.

For example, it seems that all the classes cannot see the libraries of Qt. For some reason the compilation logs are full of following messages:

unknown type name 'QLabel'
unknown type name 'QGridLayout'
unknown type name 'QPushButton'

I tried to add the following include statement:

#include <QtGui>

The include statement should include everything from the libraries of Qt, but it does not help.

Regards Sami






More information about the Interest mailing list