PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Probleme mit qmake.



Winmaster
26.05.07, 23:09
Hallo!!!
Ich habe folgendes problem. Ich möchte einen screensaver inst. der
mit qmake kompiliert wird. In der readme steht qmake, make und make install.
Wenn ich jetzt qmake eingebe kommte folgende meldung "Project MESSAGE: Configuring for multi-threaded Qt...". Kenne mich mit qmake überhaupt nicht aus.
Was kann ich tun?

Danke...

drcux
26.05.07, 23:14
Was kann ich tun?


Die vollständige Fehlermeldung posten. Das ist doch nicht alles, oder?

Winmaster
26.05.07, 23:41
Die vollständige Fehlermeldung posten. Das ist doch nicht alles, oder?

doch das ist alles was er meldet...

Rain_maker
27.05.07, 00:31
Wenn ich jetzt qmake eingebe kommte folgende meldung "Project MESSAGE: Configuring for multi-threaded Qt...".

Und was klingt für Dich da jetzt nach Fehlermeldung?


Was kann ich tun?

Ich würde mal versuchen 'make' aufzurufen.

Greetz,

RM

Winmaster
27.05.07, 00:45
Tut mir leid wenn ich mich geirrt habe, aber ich dachte das wäre eine fehlermeldung. Wenn ich make eingebe erscheint folgendes:


g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I. -I. -o mainwindow.o mainwindow.cpp
mainwindow.h:47: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
mainwindow.h:47: error: expected ‘;’ before ‘<’ token
mainwindow.cpp:139: error: field ‘timer’ has incomplete type
mainwindow.cpp: In constructor ‘Asteroid::Asteroid(QPixmap*)’:
mainwindow.cpp:146: error: ‘timer’ was not declared in this scope
mainwindow.cpp: In member function ‘void Asteroid::paint(QPainter*)’:
mainwindow.cpp:166: error: ‘timer’ was not declared in this scope
mainwindow.cpp:188: error: no matching function for call to ‘QPainter::drawPixmap(int&, int&, QPixmap&, int, int, int)’
/usr/include/QtGui/qpainter.h:295: note: candidates are: void QPainter::drawPixmap(const QRectF&, const QPixmap&, const QRectF&)
/usr/include/QtGui/qpainter.h:681: note: void QPainter::drawPixmap(const QRect&, const QPixmap&, const QRect&)
/usr/include/QtGui/qpainter.h:712: note: void QPainter::drawPixmap(int, int, int, int, const QPixmap&, int, int, int, int)
/usr/include/QtGui/qpainter.h:718: note: void QPainter::drawPixmap(int, int, const QPixmap&, int, int, int, int)
/usr/include/QtGui/qpainter.h:723: note: void QPainter::drawPixmap(const QPointF&, const QPixmap&, const QRectF&)
/usr/include/QtGui/qpainter.h:728: note: void QPainter::drawPixmap(const QPoint&, const QPixmap&, const QRect&)
/usr/include/QtGui/qpainter.h:686: note: void QPainter::drawPixmap(const QPointF&, const QPixmap&)
/usr/include/QtGui/qpainter.h:691: note: void QPainter::drawPixmap(const QPoint&, const QPixmap&)
/usr/include/QtGui/qpainter.h:701: note: void QPainter::drawPixmap(int, int, const QPixmap&)
/usr/include/QtGui/qpainter.h:696: note: void QPainter::drawPixmap(const QRect&, const QPixmap&)
/usr/include/QtGui/qpainter.h:706: note: void QPainter::drawPixmap(int, int, int, int, const QPixmap&)
mainwindow.cpp: At global scope:
mainwindow.cpp:200: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
mainwindow.cpp:200: error: expected ‘;’ before ‘<’ token
mainwindow.cpp:201: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
mainwindow.cpp:201: error: expected ‘;’ before ‘<’ token
mainwindow.cpp: In constructor ‘Asteroids::Asteroids()’:
mainwindow.cpp:207: error: ‘pixmaps’ was not declared in this scope
mainwindow.cpp:208: error: ‘asteroids’ was not declared in this scope
mainwindow.cpp: In member function ‘virtual void Asteroids::paint(QPainter*)’:
mainwindow.cpp:229: error: ‘asteroids’ was not declared in this scope
mainwindow.cpp: At global scope:
mainwindow.cpp:254: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
mainwindow.cpp:254: error: expected ‘;’ before ‘<’ token
mainwindow.cpp: In constructor ‘Planet::Planet()’:
mainwindow.cpp:262: error: ‘class QImage’ has no member named ‘create’
mainwindow.cpp:264: error: ‘maps’ was not declared in this scope
mainwindow.cpp:290: error: ‘class QPixmap’ has no member named ‘convertFromImage’
mainwindow.cpp: In member function ‘virtual void Planet::paint(QPainter*)’:
mainwindow.cpp:300: error: ‘maps’ was not declared in this scope
mainwindow.cpp:308: error: ‘class QPixmap’ has no member named ‘convertFromImage’
mainwindow.cpp: In constructor ‘Ship::Ship()’:
mainwindow.cpp:333: error: ‘class QPixmap’ has no member named ‘convertFromImage’
mainwindow.cpp: In constructor ‘MainWindow::MainWindow(WId)’:
mainwindow.cpp:358: error: ‘stars’ was not declared in this scope
mainwindow.cpp:359: error: ‘class QPixmap’ has no member named ‘resize’
mainwindow.cpp:360: error: ‘class QPixmap’ has no member named ‘resize’
mainwindow.cpp:361: error: ‘class QImage’ has no member named ‘create’
mainwindow.cpp:363: error: ‘NoBackground’ was not declared in this scope
mainwindow.cpp:363: error: ‘setBackgroundMode’ was not declared in this scope
mainwindow.cpp:364: error: ‘fromMimeSource’ is not a member of ‘QPixmap’
mainwindow.cpp:364: error: ‘setIcon’ was not declared in this scope
mainwindow.cpp:365: error: ‘setCaption’ was not declared in this scope
mainwindow.cpp:370: error: ‘class QSettings’ has no member named ‘readNumEntry’
mainwindow.cpp:371: error: ‘class QSettings’ has no member named ‘readBoolEntry’
mainwindow.cpp:372: error: ‘class QSettings’ has no member named ‘readBoolEntry’
mainwindow.cpp:373: error: ‘class QSettings’ has no member named ‘readBoolEntry’
mainwindow.cpp:374: error: ‘class QSettings’ has no member named ‘readBoolEntry’
mainwindow.cpp:375: error: ‘class QSettings’ has no member named ‘readNumEntry’
mainwindow.cpp:376: error: ‘class QSettings’ has no member named ‘readNumEntry’
mainwindow.cpp: In destructor ‘virtual MainWindow::~MainWindow()’:
mainwindow.cpp:393: error: ‘class QSettings’ has no member named ‘writeEntry’
mainwindow.cpp: In member function ‘void MainWindow::restart()’:
mainwindow.cpp:415: error: ‘black’ was not declared in this scope
mainwindow.cpp:416: error: ‘stars’ was not declared in this scope
mainwindow.cpp:419: error: ‘QValueList’ was not declared in this scope
mainwindow.cpp:419: error: expected primary-expression before ‘int’
mainwindow.cpp:419: error: expected `;' before ‘int’
mainwindow.cpp:420: error: ‘list’ was not declared in this scope
mainwindow.cpp:421: error: ‘list’ was not declared in this scope
mainwindow.cpp:422: error: ‘list’ was not declared in this scope
mainwindow.cpp:424: error: ‘list’ was not declared in this scope
mainwindow.cpp:434: error: ‘QWMatrix’ was not declared in this scope
mainwindow.cpp:434: error: expected `;' before ‘matrix’
mainwindow.cpp:436: error: ‘class QImage’ has no member named ‘xForm’
mainwindow.cpp:436: error: ‘matrix’ was not declared in this scope
mainwindow.cpp:439: error: ‘bitBlt’ was not declared in this scope
mainwindow.cpp: In member function ‘virtual void MainWindow::timerEvent(QTimerEvent*)’:
mainwindow.cpp:453: error: ‘stars’ was not declared in this scope
mainwindow.cpp:456: error: ‘bitBlt’ was not declared in this scope
mainwindow.cpp: In member function ‘virtual void MainWindow::keyPressEvent(QKeyEvent*)’:
mainwindow.cpp:468: error: invalid use of undefined type ‘struct QKeyEvent’
/usr/include/QtGui/qwidget.h:58: error: forward declaration of ‘struct QKeyEvent’
mainwindow.cpp:470: error: ‘Key_Up’ was not declared in this scope
mainwindow.cpp:474: error: ‘Key_Down’ was not declared in this scope
mainwindow.cpp:478: error: ‘Key_Right’ was not declared in this scope
mainwindow.cpp:486: error: ‘Key_Q’ was not declared in this scope
make: *** [mainwindow.o] Fehler 1


Jetzt komme ich nicht mehr weiter, weil ich mich mit qt überhaupt nicht aus kenne.