error Building QCad
wilfried rabaud
ewira at free.fr
Sat Nov 14 00:57:24 PST 2009
With Qt3 (not qt3-mac), this is what I have obtained:
cd src && make
c++ -c -pipe -Wall -W -Os -DQC_APPKEY="\"/QCad\"" -DQC_APPDIR="\"qcad
\"" -DQC_APPNAME="\"QCad\"" -DQT_NO_DEBUG -I/opt/local/lib/qt3/mkspecs/
macx-g++ -I. -I../../fparser/include -I../../dxflib/include -I../../
qcadlib/include -I../../qcadcmd/include -I../../qcadactions/include -
I../../qcadguiqt/include -I/opt/local/lib/qt3/include -Imoc/ -o obj/
qc_applicationwindow.o qc_applicationwindow.cpp
qc_applicationwindow.cpp:250: warning: unused parameter ‘name’
c++ -c -pipe -Wall -W -Os -DQC_APPKEY="\"/QCad\"" -DQC_APPDIR="\"qcad
\"" -DQC_APPNAME="\"QCad\"" -DQT_NO_DEBUG -I/opt/local/lib/qt3/mkspecs/
macx-g++ -I. -I../../fparser/include -I../../dxflib/include -I../../
qcadlib/include -I../../qcadcmd/include -I../../qcadactions/include -
I../../qcadguiqt/include -I/opt/local/lib/qt3/include -Imoc/ -o obj/
main.o main.cpp
main.cpp:34:27: error: qmacstyle_mac.h: No such file or directory
main.cpp: In function ‘int main(int, char**)’:
main.cpp:233: error: expected type-specifier before ‘QMacStyle’
main.cpp:233: error: expected `)' before ‘QMacStyle’
main.cpp:233: error: no matching function for call to
‘QApplication::setStyle(int*)’
/opt/local/lib/qt3/include/qapplication.h:89: note: candidates are:
static void QApplication::setStyle(QStyle*)
/opt/local/lib/qt3/include/qapplication.h:90: note:
static QStyle* QApplication::setStyle(const QString&)
make[1]: *** [obj/main.o] Error 1
make: *** [qcad] Error 2
Preparing Application Folder for QCad
strip: can't open file: QCad.app/Contents/MacOS/QCad (No such file or
directory)
cp: qm/*.qm: No such file or directory
--------------------------
will / MacPorts 1.8.1 / OS X.5.8
ewira at free.fr
More information about the macports-users
mailing list