[texworks] building texworks r600 fails on Debian 5.04

Vafa Khalighi vafakh84 at gmail.com
Thu Apr 8 10:52:25 CEST 2010


When I tried to build r600 of texworks today, it failed.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
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
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
src/TWScriptable.cpp: In member function ‘void
TWScriptable::hideFloatersUnlessThis(QWidget*)’:
src/TWScriptable.cpp:435: error: invalid use of incomplete type ‘struct
QToolBar’
/usr/include/qt4/QtGui/qmainwindow.h:55: error: forward declaration of
‘struct QToolBar’
src/TWScriptable.cpp:435: error: invalid use of incomplete type ‘struct
QToolBar’
/usr/include/qt4/QtGui/qmainwindow.h:55: error: forward declaration of
‘struct QToolBar’
src/TWScriptable.cpp:436: error: no matching function for call to
‘QList<QWidget*>::append(QToolBar*&)’
/usr/include/qt4/QtCore/qlist.h:414: note: candidates are: void
QList<T>::append(const T&) [with T = QWidget*]
src/TWScriptable.cpp:437: error: invalid use of incomplete type ‘struct
QToolBar’
/usr/include/qt4/QtGui/qmainwindow.h:55: error: forward declaration of
‘struct QToolBar’
src/TWScriptable.cpp:441: error: invalid use of incomplete type ‘struct
QDockWidget’
/usr/include/qt4/QtGui/qmainwindow.h:51: error: forward declaration of
‘struct QDockWidget’
src/TWScriptable.cpp:441: error: invalid use of incomplete type ‘struct
QDockWidget’
/usr/include/qt4/QtGui/qmainwindow.h:51: error: forward declaration of
‘struct QDockWidget’
src/TWScriptable.cpp:442: error: no matching function for call to
‘QList<QWidget*>::append(QDockWidget*&)’
/usr/include/qt4/QtCore/qlist.h:414: note: candidates are: void
QList<T>::append(const T&) [with T = QWidget*]
src/TWScriptable.cpp:443: error: invalid use of incomplete type ‘struct
QDockWidget’
/usr/include/qt4/QtGui/qmainwindow.h:51: error: forward declaration of
‘struct QDockWidget’
/usr/include/qt4/QtCore/qobject.h: In function ‘T qobject_cast(QObject*)
[with T = QToolBar*]’:
src/TWScriptable.cpp:434:   instantiated from here
/usr/include/qt4/QtCore/qobject.h:436: error: invalid use of incomplete type
‘struct QToolBar’
/usr/include/qt4/QtGui/qmainwindow.h:55: error: forward declaration of
‘struct QToolBar’
/usr/include/qt4/QtCore/qobject.h:438: error: invalid use of incomplete type
‘struct QToolBar’
/usr/include/qt4/QtGui/qmainwindow.h:55: error: forward declaration of
‘struct QToolBar’
/usr/include/qt4/QtCore/qobject.h: In function ‘T qobject_cast(QObject*)
[with T = QDockWidget*]’:
src/TWScriptable.cpp:440:   instantiated from here
/usr/include/qt4/QtCore/qobject.h:436: error: invalid use of incomplete type
‘struct QDockWidget’
/usr/include/qt4/QtGui/qmainwindow.h:51: error: forward declaration of
‘struct QDockWidget’
/usr/include/qt4/QtCore/qobject.h:438: error: invalid use of incomplete type
‘struct QDockWidget’
/usr/include/qt4/QtGui/qmainwindow.h:51: error: forward declaration of
‘struct QDockWidget’
make: *** [obj/TWScriptable.o] Error 1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

During running qmake, it also said that

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Project MESSAGE: Warning: unknown QT: scripttools
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-- 
Best wishes,
Vafa Khalighi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20100408/927e00a8/attachment.html>


More information about the texworks mailing list