Relix3000 Posted May 16, 2005 Report Share Posted May 16, 2005 Hello! I am trying to compile a program, but it asks for the QT Headers and Libs. I downloaded the QT-devel libs, and they are correctly installed, still I tried again and it didnt work. I ran the configuration file with ( ./configure --with-qt-dir=/usr/lib/qt3 --with-qt-includes=/usr/lib/qt3/include/ --with-qt-libraries=/usr/lib/qt3/lib/ ) that comman, still didnt work. The error it gives me is the following (as stated in the log): --------------------------------------------------- conftest.cc:2:21: qglobal.h: No such file or directory conftest.cc:3:26: qapplication.h: No such file or directory conftest.cc:4:21: qcursor.h: No such file or directory conftest.cc:5:27: qstylefactory.h: No such file or directory conftest.cc:6:34: private/qucomextra_p.h: No such file or directory conftest.cc:7:8: warning: "QT_VERSION" is not defined conftest.cc:8:2: #error 1 conftest.cc: In function `int main()': conftest.cc:12: error: `QStyleFactory' has not been declared conftest.cc:12: error: `QString' has not been declared conftest.cc:12: error: `null' undeclared (first use this function) conftest.cc:12: error: (Each undeclared identifier is reported only once for each function it appears in.) conftest.cc:12: error: `create' undeclared (first use this function) conftest.cc:13: error: `QCursor' undeclared (first use this function) conftest.cc:13: error: expected `;' before "c" configure:22015: $? = 1 configure: failed program was: #include "confdefs.h" #include <qglobal.h> #include <qapplication.h> #include <qcursor.h> #include <qstylefactory.h> #include <private/qucomextra_p.h> #if ! (QT_VERSION >= 303) #error 1 #endif int main() { (void)QStyleFactory::create(QString::null); QCursor c(Qt::WhatsThisCursor); return 0; } configure:22055: error: Qt (>= Qt 3.0.3) (headers and libraries) not found. Please check your installation! -------------------------------------------------------------------- And I am extremely sure I have it installed. Any clues guys? Thanks for any help! [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
devries Posted May 17, 2005 Report Share Posted May 17, 2005 Qt (>= Qt 3.0.3) What version of qt have do you have installed and how did you install it? (tip: always use urpmi) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.