Hello all, i need help compiling Qt on open solaris. i have experience in Qt but not OpenSolaris. i tried both Qt 4.3.4 and 4.4.0 and i get errors from the very beginning which makes me feel i am missing something.
i installed the ss-dev Sun Studio development cluster, added /opt/SunStudioExpress/bin to my path in qt directory i typed: ./configure -platform solaris-cc configure ran fine, but after it completes i typed: make or gmake i got: cd src/tools/moc/ && gmake -f Makefile gmake[1]: Entering directory `/export/home/maged/dev/qt-x11-commercial-src-4.4.0/src/tools/moc' XX -c XXFLAGS -O2 -DQT_EDITION=QT_EDITION_DESKTOP -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_DATASTREAM -DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD -DQT_NO_REGEXP -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -DQT_NO_USING_NAMESPACE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/solaris-cc -I. -I../../corelib/arch/generic -I../../../include -I. -I../../../include/QtCore -I. -I.uic/release-shared -I/usr/sfw/include -o release-shared/moc.o moc.cpp gmake[1]: XX: Command not found it seems that Qt/qmake generated XX for the compiler name. my understanding Qt/qmake should read this from the mkspecs/solaris-cc/qmake.conf where it is defined as: QMAKE_CC = cc QMAKE_CXX = CC QMAKE_CXXFLAGS = $$QMAKE_CFLAGS i am doing something wrong ? Any help is very much appreciated. /maged -- This message posted from opensolaris.org
