[kde-freebsd] ports/109508: devel/qmake4: qmake4 uses uic/moc from qt3

Michael Nottebrock lofi at freebsd.org
Sun Feb 25 13:30:16 CET 2007


The following reply was made to PR ports/109508; it has been noted by GNATS.

From: Michael Nottebrock <lofi at freebsd.org>
To: bug-followup at freebsd.org, amdmi3 at amdmi3.ru
Cc:  
Subject: Re: ports/109508: devel/qmake4: qmake4 uses uic/moc from qt3
Date: Sun, 25 Feb 2007 13:24:12 +0100

 I think you have QMAKESPEC pointing to old/wrong mkspecs set in your 
 environment there. Here's what I get:
 
 [lofi at kiste]:2:~ > cat tmp.pro
 message($$QMAKE_MOC)
 message($$QMAKE_UIC)
 
 [lofi at kiste]:0:~ > qmake
 QMAKESPEC has not been set, so configuration cannot be deduced.
 Error processing project file: /usr/home/lofi/tmp.pro
 
 [lofi at kiste]:2:~ > qmake-qt4
 QMAKESPEC has not been set, so configuration cannot be deduced.
 Error processing project file: /usr/home/lofi/tmp.pro
 
 [lofi at kiste]:3:~ > env QMAKESPEC=freebsd-g++ qmake
 Project MESSAGE: /bin/moc
 Project MESSAGE: /bin/uic
 
 This is obviously broken, but it's a known limitation of the Qt3 port on 
 FreeBSD.
 
 [lofi at kiste]:0:~ > env QMAKESPEC=freebsd-g++ qmake-qt4
 Project MESSAGE: /usr/local/bin/moc4
 Project MESSAGE: /usr/local/bin/uic4
 
 Correct and expected behaviour.
 
 [lofi at kiste]:0:~ > env QMAKESPEC=/usr/local/share/qt4/mkspecs/freebsd-g++ 
 qmake-qt4
 Project MESSAGE: /usr/local/bin/moc4
 Project MESSAGE: /usr/local/bin/uic4
 
 This is what happens with QMAKESPEC set like it would be if you were creating 
 a port with USE_QT_VER=4 set.


More information about the kde-freebsd mailing list