QT creator/qt embedded widget demo problem
Posted
by jhowland
on Stack Overflow
See other posts from Stack Overflow
or by jhowland
Published on 2009-11-20T01:44:11Z
Indexed on
2010/04/22
14:53 UTC
Read the original article
Hit count: 459
qt
|qt-creator
I have downloaded the source code for the embedded widget demos from nokia and tried to get it to compile--I end up with the following error:
Compiler (mingw32) message :
In file included from ../../src/basicgraph/qtbasicgraph.cpp:9: ../../src/basicgraph/qtbasicgraph.h:14:17: QtGui: No such file or directory
The offending line is
#include <QtGui>
QT creator 1.2.0, QT 2009.03
I have checked paths, etc, and all seems fine. I have checked to make sure that I have implicitly included QT += gui
and that I have NOT included QT -= gui
anywhere in the .pro and .pri files.
After making no changes, I used VS2005 and the appropriate commercial version of QT 4.4.3, and it compiled and ran fine
I have googled the error, and have found others asking similar questions (but not here) but no posted answers...so I would appreciate any help.
thanks
Jonathan Howland
© Stack Overflow or respective owner