You are not logged in.

#1 2007-09-23 03:56:07

calef13
Member
Registered: 2007-06-10
Posts: 142

cannot compile qt4 examples

Hi,

I have been having some trouble compiling qt4 applications. I have done 'qt-config qt4' and 'qt-config --current' shows qt4, yet the qt4 example I am trying to compile keeps failing.

[calef13@bluenode hello]$ make
g++ -c -pipe -Wall -W -mtune=generic -march=i686 -O2 -pipe  -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/opt/qt/mkspecs/linux-g++ -I. -I. -I/opt/qt4/include -o hello.o hello.cpp
hello.cpp:1:24: error: QApplication: No such file or directory
hello.cpp:2:18: error: QLabel: No such file or directory

Above is a snippet of the errors I am getting. I am pretty stumped as the following thread 'http://bbs.archlinux.org/viewtopic.php?id=37145' is the same as mine and the problem was solved with qt-config.

Thanks in advance,

Calef13

Offline

Board footer

Powered by FluxBB