Hi Jeremy,
Does new Haiq support earlier Qt version? I had this error when
compiling svn Haiq with Qt 4.3.4:
make[2]: Entering directory `/home/chuong/Projects/haiq/src/plugins/
haiqdesigner/designer'
/usr/bin/uic-qt4 ../HaiQDesignerWindow.ui -o ui_HaiQDesignerWindow.h
/usr/bin/uic-qt4 ../qttoolbardialog/qttoolbardialog.ui -o
ui_qttoolbardialog.h
/usr/bin/uic-qt4 newform.ui -o ui_newform.h
/usr/bin/uic-qt4 plugindialog.ui -o ui_plugindialog.h
/usr/bin/uic-qt4 saveformastemplate.ui -o ui_saveformastemplate.h
/usr/bin/uic-qt4 formwindowsettings.ui -o ui_formwindowsettings.h
/usr/bin/uic-qt4 preferencesdialog.ui -o ui_preferencesdialog.h
g++ -c -pipe -fpermissive -O2 -D_REENTRANT -Wall -W -fPIC -DQT_SHARED -
DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -
DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -
I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/
QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/
include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/
usr/include/qt4/QtScript -I/usr/include/qt4/QtScript -I/usr/include/
qt4 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/
QtDesignerComponents -I../../../../src/haiqcoreinterface -I../lib/sdk -
I../lib/extension -I../lib/shared -I../lib/uilib -Iextra -I../
qttoolbardialog -I../fontpanel -I. -I. -o build/haiqdesigner.o ../
haiqdesigner.cpp
In file included from ../haiqdesigner.h:7,
from ../haiqdesigner.cpp:1:
./qdesigner_workbench.h:57: error: expected constructor, destructor,
or type conversion before ‘class’
./qdesigner_workbench.h:109: warning: ISO C++ forbids declaration of
‘QDesignerActions’ with no type
./qdesigner_workbench.h:109: error: expected ‘;’ before ‘*’ token
./qdesigner_workbench.h:181: warning: ISO C++ forbids declaration of
‘QDesignerActions’ with no type
./qdesigner_workbench.h:181: error: expected ‘;’ before ‘*’ token
In file included from /usr/include/qt4/QtGui/qabstractscrollarea.h:47,
from /usr/include/qt4/QtGui/qscrollarea.h:47,
from /usr/include/qt4/QtGui/QScrollArea:1,
from ../haiqdesigner.h:8,
from ../haiqdesigner.cpp:1:
/usr/include/qt4/QtGui/qframe.h:51: error: expected constructor,
destructor, or type conversion before ‘typedef’
In file included from ../haiqdesigner.h:12,
from ../haiqdesigner.cpp:1:
./qdesigner_formwindow.h:52: error: expected constructor, destructor,
or type conversion before ‘class’
In file included from /usr/include/qt4/QtGui/QMainWindow:1,
from ./qdesigner_toolwindow.h:48,
from ../haiqdesigner.h:13,
from ../haiqdesigner.cpp:1:
/usr/include/qt4/QtGui/qmainwindow.h:51: error: expected constructor,
destructor, or type conversion before ‘typedef’
In file included from ../haiqdesigner.h:13,
from ../haiqdesigner.cpp:1:
./qdesigner_toolwindow.h:52: error: expected constructor, destructor,
or type conversion before ‘class’
./qdesigner_toolwindow.h:85: error: ‘QT_END_NAMESPACE’ does not name a
type
In file included from ./qdesigner_actions.h:47,
from ../haiqdesigner.h:14,
from ../haiqdesigner.cpp:1:
./assistantclient.h:80: warning: ISO C++ forbids declaration of
‘QProcess’ with no type
./assistantclient.h:80: error: expected ‘;’ before ‘*’ token
In file included from /usr/include/qt4/QtGui/QPrinter:1,
from ./qdesigner_actions.h:51,
from ../haiqdesigner.h:14,
from ../haiqdesigner.cpp:1:
/usr/include/qt4/QtGui/qprinter.h:52: error: expected constructor,
destructor, or type conversion before ‘typedef’
In file included from ../haiqdesigner.h:14,
from ../haiqdesigner.cpp:1:
./qdesigner_actions.h:55: error: expected constructor, destructor, or
type conversion before ‘class’
In file included from /usr/include/qt4/QtCore/qcoreapplication.h:49,
from /usr/include/qt4/QtGui/qapplication.h:47,
from /usr/include/qt4/QtGui/QApplication:1,
from ../designer/ui_HaiQDesignerWindow.h:15,
from ../HaiQDesignerWindow.h:4,
from ../haiqdesigner.h:15,
from ../haiqdesigner.cpp:1:
/usr/include/qt4/QtCore/qeventloop.h:51: error: expected constructor,
destructor, or type conversion before ‘typedef’
In file included from ../haiqdesigner.cpp:1:
../haiqdesigner.h:36: warning: unused parameter ‘event’
In file included from ../haiqdesigner.cpp:1:
../haiqdesigner.h: In member function ‘QList<QAction*>
HaiQDesignerPlugin::form_actions()’:
../haiqdesigner.h:147: error: ‘class QDesignerWorkbench’ has no member
named ‘actionManager’
../haiqdesigner.h: In member function ‘void
HaiQDesignerPlugin::do_initialize()’:
../haiqdesigner.h:162: error: ‘class QDesignerWorkbench’ has no member
named ‘actionManager’
../haiqdesigner.cpp: At global scope:
../haiqdesigner.cpp:50: warning: unused parameter ‘txt’
make[2]: *** [build/haiqdesigner.o] Error 1
make[2]: Leaving directory `/home/chuong/Projects/haiq/src/plugins/
haiqdesigner/designer'
make[1]: *** [sub-haiqdesigner-designer-make_default-ordered] Error 2
make[1]: Leaving directory `/home/chuong/Projects/haiq/src/plugins'
make: *** [sub-src-plugins-make_default-ordered] Error 2
Thanks,
Chuong