<div dir="ltr">When I tried to build r600 of texworks today, it failed.<br clear="all"><br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>g++ -c -pipe -DHAVE_POPPLER_XPDF_HEADERS -DTW_HELPPATH=\"/usr/local/share/texworks-help\" -DTW_PLUGINPATH=\"/usr/local/lib/texworks\" -DTW_DICPATH=\"/usr/share/myspell/dicts\" -O2 -I/usr/include/hunspell -I/usr/include/poppler/qt4 -I/usr/include/poppler -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -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/QtDBus -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -Isrc -Imoc -Iui -o obj/TWApp.o src/TWApp.cpp<br>
g++ -c -pipe -DHAVE_POPPLER_XPDF_HEADERS -DTW_HELPPATH=\"/usr/local/share/texworks-help\" -DTW_PLUGINPATH=\"/usr/local/lib/texworks\" -DTW_DICPATH=\"/usr/share/myspell/dicts\" -O2 -I/usr/include/hunspell -I/usr/include/poppler/qt4 -I/usr/include/poppler -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -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/QtDBus -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -Isrc -Imoc -Iui -o obj/TWScriptable.o src/TWScriptable.cpp<br>
src/TWScriptable.cpp: In member function ‘void TWScriptable::hideFloatersUnlessThis(QWidget*)’:<br>src/TWScriptable.cpp:435: error: invalid use of incomplete type ‘struct QToolBar’<br>/usr/include/qt4/QtGui/qmainwindow.h:55: error: forward declaration of ‘struct QToolBar’<br>
src/TWScriptable.cpp:435: error: invalid use of incomplete type ‘struct QToolBar’<br>/usr/include/qt4/QtGui/qmainwindow.h:55: error: forward declaration of ‘struct QToolBar’<br>src/TWScriptable.cpp:436: error: no matching function for call to ‘QList<QWidget*>::append(QToolBar*&)’<br>
/usr/include/qt4/QtCore/qlist.h:414: note: candidates are: void QList<T>::append(const T&) [with T = QWidget*]<br>src/TWScriptable.cpp:437: error: invalid use of incomplete type ‘struct QToolBar’<br>/usr/include/qt4/QtGui/qmainwindow.h:55: error: forward declaration of ‘struct QToolBar’<br>
src/TWScriptable.cpp:441: error: invalid use of incomplete type ‘struct QDockWidget’<br>/usr/include/qt4/QtGui/qmainwindow.h:51: error: forward declaration of ‘struct QDockWidget’<br>src/TWScriptable.cpp:441: error: invalid use of incomplete type ‘struct QDockWidget’<br>
/usr/include/qt4/QtGui/qmainwindow.h:51: error: forward declaration of ‘struct QDockWidget’<br>src/TWScriptable.cpp:442: error: no matching function for call to ‘QList<QWidget*>::append(QDockWidget*&)’<br>/usr/include/qt4/QtCore/qlist.h:414: note: candidates are: void QList<T>::append(const T&) [with T = QWidget*]<br>
src/TWScriptable.cpp:443: error: invalid use of incomplete type ‘struct QDockWidget’<br>/usr/include/qt4/QtGui/qmainwindow.h:51: error: forward declaration of ‘struct QDockWidget’<br>/usr/include/qt4/QtCore/qobject.h: In function ‘T qobject_cast(QObject*) [with T = QToolBar*]’:<br>
src/TWScriptable.cpp:434: instantiated from here<br>/usr/include/qt4/QtCore/qobject.h:436: error: invalid use of incomplete type ‘struct QToolBar’<br>/usr/include/qt4/QtGui/qmainwindow.h:55: error: forward declaration of ‘struct QToolBar’<br>
/usr/include/qt4/QtCore/qobject.h:438: error: invalid use of incomplete type ‘struct QToolBar’<br>/usr/include/qt4/QtGui/qmainwindow.h:55: error: forward declaration of ‘struct QToolBar’<br>/usr/include/qt4/QtCore/qobject.h: In function ‘T qobject_cast(QObject*) [with T = QDockWidget*]’:<br>
src/TWScriptable.cpp:440: instantiated from here<br>/usr/include/qt4/QtCore/qobject.h:436: error: invalid use of incomplete type ‘struct QDockWidget’<br>/usr/include/qt4/QtGui/qmainwindow.h:51: error: forward declaration of ‘struct QDockWidget’<br>
/usr/include/qt4/QtCore/qobject.h:438: error: invalid use of incomplete type ‘struct QDockWidget’<br>/usr/include/qt4/QtGui/qmainwindow.h:51: error: forward declaration of ‘struct QDockWidget’<br>make: *** [obj/TWScriptable.o] Error 1<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br><br>During running qmake, it also said that<br><br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
Project MESSAGE: Warning: unknown QT: scripttools<br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>-- <br>Best wishes,<br>Vafa Khalighi<br>
</div>