I've been following a tutorial for qt programming. I'm not new to C/C++ but am to graphical programming. The tutorial provides an example program for each lesson and gives the following two commands to compile it:
The first time I ran it, I got this error:
Somewhere I found that QMAKESPEC should be set to /usr/local/share/qt4/mkspecs/freebsd-g++. After setting it, I get the following error:
I can't find anything on this error and qt and qmake are completely new to me. I could really use some help getting this going.
Code:
qmake -project
qmake
The first time I ran it, I got this error:
Code:
[kenshi@bahamut ..ing/c++/qt/tut1]% qmake -project
[kenshi@bahamut ..ing/c++/qt/tut1]% qmake
QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: /home/kenshi/programming/c++/qt/tut1/tut1.pro
Somewhere I found that QMAKESPEC should be set to /usr/local/share/qt4/mkspecs/freebsd-g++. After setting it, I get the following error:
Code:
[kenshi@bahamut ..ing/c++/qt/tut1]% qmake -project
[kenshi@bahamut ..ing/c++/qt/tut1]% qmake
Project LOAD(): Feature qt_config cannot be found.
I can't find anything on this error and qt and qmake are completely new to me. I could really use some help getting this going.