I have Qtversion 3.3.4 and Qt version 4.1.2 installed. qmake produce only trash: For testing, I change th directory to the first tutorial from the qt examples. qmake -v QMake version: 2.00a Using Qt version 4.1.2 in /usr/lib/qt4 /usr/bin/qmake is from qt4, but the produced Makefile is only trash. Qt3 and QT4 Path are mixed. The Includes are QT3, libs QT4. Here only the first and some other importand lines: #########################################################################$ # Makefile for building: t1 # Generated by qmake (2.00a) (Qt 4.1.2) on: Wed May 3 02:11:10 2006 # Project: t1.pro # Template: app # Command: /usr/qt/3/bin/qmake -unix -o Makefile t1.pro #########################################################################$ INCPATH = -I/usr/share/doc/qt-4.1.2/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I/usr/include/freetype2 -I.moc/release-shared-mt -I/usr/include -I. LIBS = $(SUBLIBS) -L/usr/lib/mysql -L/usr/qt/3/lib -L/usr/lib -lQtGui -lQtCore -ldl -lSM -lICE -lpthread -lGLU -lGL QMAKE = /usr/qt/3/bin/qmake Why /usr/qt/3/bin/qmake ??? I've called /usr/bin/qmake thats from version 4.1.2 Why qt3 includes??? Why QT4 libs but qt3libs search path??? QT3 an QT4 are both unusable, not a nice situation for developing.... http://bugs.gentoo.org/show_bug.cgi?id=130834 is the same problem...
*** This bug has been marked as a duplicate of 132072 ***
.