Jump to content

Qt-headers missing, help!


Recommended Posts

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]

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...