mash@zeb:/home/webissues/public_html/webissues/trunk/client$ ./configure
Testing for qmake...
Using /usr/local/Trolltech/Qt-4.3.3/bin/qmake (Qt 4.3.3)
Writing configuration file...
Generating Makefiles...
Reading /home/webissues/public_html/webissues/trunk/client/src/src.pro
Configure finished. Run 'make' now.
mash@zeb:/home/webissues/public_html/webissues/trunk/client$ make
cd src/ && make -f Makefile
make[1]: Entering directory `/home/webissues/public_html/webissues/trunk/client/src'
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.3.3/mkspecs/linux-g++ -I. -I/usr/local/Trolltech/Qt-4.3.3/include/QtCore -I/usr/local/Trolltech/Qt-4.3.3/include/QtCore -I/usr/local/Trolltech/Qt-4.3.3/include/QtNetwork -I/usr/local/Trolltech/Qt-4.3.3/include/QtNetwork -I/usr/local/Trolltech/Qt-4.3.3/include/QtGui -I/usr/local/Trolltech/Qt-4.3.3/include/QtGui -I/usr/local/Trolltech/Qt-4.3.3/include/QtXml -I/usr/local/Trolltech/Qt-4.3.3/include/QtXml -I/usr/local/Trolltech/Qt-4.3.3/include -I. -I../tmp -I../tmp -o ../tmp/release/mainwindow.o mainwindow.cpp
mainwindow.cpp: In member function ‘void MainWindow::initializeView()’:
mainwindow.cpp:218: error: ‘QVBoxLayout’ was not declared in this scope
mainwindow.cpp:218: error: expected type-specifier before ‘QVBoxLayout’
mainwindow.cpp:218: error: expected `;' before ‘QVBoxLayout’
mainwindow.cpp:219: error: invalid use of member (did you forget the ‘&’ ?)
mainwindow.cpp:219: error: base operand of ‘->’ is not a pointer
mainwindow.cpp:220: error: invalid use of member (did you forget the ‘&’ ?)
mainwindow.cpp:220: error: base operand of ‘->’ is not a pointer
mainwindow.cpp: In member function ‘void MainWindow::toolBarCreated(QToolBar*)’:
mainwindow.cpp:506: error: invalid use of incomplete type ‘struct QToolBar’
/usr/local/Trolltech/Qt-4.3.3/include/QtGui/qmainwindow.h:52: error: forward declaration of ‘struct QToolBar’
make[1]: *** [../tmp/release/mainwindow.o] Error 1
make[1]: Leaving directory `/home/webissues/public_html/webissues/trunk/client/src'
make: *** [sub-src-make_default] Error 2
mash@zeb:/home/webissues/public_html/webissues/trunk/client$
These are some missing includes; I just fixed it.
Things like this happen from time to time because I'm using precompiled headers. Both Visual C++ and GCC on Windows support them... So I would have to turn them off and recompile before each commit - that's why normally I do it only when I'm preparing a release :).
Regards,
Michał
Cool, compile now seems to work..Sorry I aont experienced enough to spot the error above myself.
I do have another set of warning when "make install" though, seems to be a problem with strip. Heres a snippet
Hmm... I looked into qmake sources and it seems to add a strip command to every installed file if it is executable. Perhaps these *.qm files have the 'x' flag set for some reason?
Regards,
Michał