[texworks] Problem compiling rev722 on Mingw

Ignasi Furió ignasi.furio at uib.cat
Mon Mar 28 13:21:20 CEST 2011


Hi all,

today I've updated texworks to svn and after the usual mingw32-make the  
result is:


src/PDFDocument.cpp:82:0: warning: ignoring #pragma mark
src/PDFDocument.cpp:145:0: warning: ignoring #pragma mark
src/PDFDocument.cpp:1099:0: warning: ignoring #pragma mark
src/PDFDocument.cpp: In member function 'void  
PDFDocument::showScaleContextMenu(QPoint)':
src/PDFDocument.cpp:1804:45: error: invalid use of incomplete type 'struct  
QSignalMapper'
src/TWScriptable.h:36:7: error: forward declaration of 'struct  
QSignalMapper'
src/PDFDocument.cpp:1811:65: error: no matching function for call to  
'PDFDocument::connect(QAction*&, const char [13], QSignalMapper*&, const  
char [7])'
../../kde/include/QtCore/qobject.h:194:17: note: candidates are: static  
bool QObject::connect(const QObject*, const char*, const QObject*, const  
char*, Qt::ConnectionType)
../../kde/include/QtCore/qobject.h:309:13: note:                 bool  
QObject::connect(const QObject*, const char*, const char*,  
Qt::ConnectionType) const
src/PDFDocument.cpp:1812:20: error: invalid use of incomplete type 'struct  
QSignalMapper'
src/TWScriptable.h:36:7: error: forward declaration of 'struct  
QSignalMapper'
src/PDFDocument.cpp:1814:65: error: no matching function for call to  
'PDFDocument::connect(QAction*&, const char [13], QSignalMapper*&, const  
char [7])'
../../kde/include/QtCore/qobject.h:194:17: note: candidates are: static  
bool QObject::connect(const QObject*, const char*, const QObject*, const  
char*, Qt::ConnectionType)
../../kde/include/QtCore/qobject.h:309:13: note:                 bool  
QObject::connect(const QObject*, const char*, const char*,  
Qt::ConnectionType) const
src/PDFDocument.cpp:1815:20: error: invalid use of incomplete type 'struct  
QSignalMapper'
src/TWScriptable.h:36:7: error: forward declaration of 'struct  
QSignalMapper'
src/PDFDocument.cpp:1820:65: error: no matching function for call to  
'PDFDocument::connect(QAction*&, const char [13], QSignalMapper*&, const  
char [7])'
../../kde/include/QtCore/qobject.h:194:17: note: candidates are: static  
bool QObject::connect(const QObject*, const char*, const QObject*, const  
char*, Qt::ConnectionType)
../../kde/include/QtCore/qobject.h:309:13: note:                 bool  
QObject::connect(const QObject*, const char*, const char*,  
Qt::ConnectionType) const
src/PDFDocument.cpp:1821:20: error: invalid use of incomplete type 'struct  
QSignalMapper'
src/TWScriptable.h:36:7: error: forward declaration of 'struct  
QSignalMapper'
src/PDFDocument.cpp:1823:65: error: no matching function for call to  
'PDFDocument::connect(QAction*&, const char [13], QSignalMapper*&, const  
char [7])'
../../kde/include/QtCore/qobject.h:194:17: note: candidates are: static  
bool QObject::connect(const QObject*, const char*, const QObject*, const  
char*, Qt::ConnectionType)
../../kde/include/QtCore/qobject.h:309:13: note:                 bool  
QObject::connect(const QObject*, const char*, const char*,  
Qt::ConnectionType) const
src/PDFDocument.cpp:1824:20: error: invalid use of incomplete type 'struct  
QSignalMapper'
src/TWScriptable.h:36:7: error: forward declaration of 'struct  
QSignalMapper'
src/PDFDocument.cpp:1826:65: error: no matching function for call to  
'PDFDocument::connect(QAction*&, const char [13], QSignalMapper*&, const  
char [7])'
../../kde/include/QtCore/qobject.h:194:17: note: candidates are: static  
bool QObject::connect(const QObject*, const char*, const QObject*, const  
char*, Qt::ConnectionType)
../../kde/include/QtCore/qobject.h:309:13: note:                 bool  
QObject::connect(const QObject*, const char*, const char*,  
Qt::ConnectionType) const
src/PDFDocument.cpp:1827:20: error: invalid use of incomplete type 'struct  
QSignalMapper'
src/TWScriptable.h:36:7: error: forward declaration of 'struct  
QSignalMapper'
src/PDFDocument.cpp:1829:113: error: no matching function for call to  
'PDFDocument::connect(QSignalMapper*&, const char [24], PDFDocument*  
const, const char [41])'
../../kde/include/QtCore/qobject.h:194:17: note: candidates are: static  
bool QObject::connect(const QObject*, const char*, const QObject*, const  
char*, Qt::ConnectionType)
../../kde/include/QtCore/qobject.h:309:13: note:                 bool  
QObject::connect(const QObject*, const char*, const char*,  
Qt::ConnectionType) const
mingw32-make[1]: *** [obj/PDFDocument.o] Error 1
mingw32-make: *** [release] Error 2

Could you help me?

I attach modified texworks.pro and resulting Makefile and Makefile.Release.

Thank you,

Ignasi
-- 
----------------------------------------------------------------------
Ignasi Furió Caldentey
Universitat de les Illes Balears
Escola Politècnica Superior
Dep. Matematiques i Informatica
Cra. Valldemossa, km. 7,5. 07122-Palma. SPAIN
tel: (34) 971.259.970    fax: (34) 971.173.003
e-mail: ignasi dot furio at uib dot cat
http://www.uib.cat
----------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TeXworks.pro
Type: application/octet-stream
Size: 7391 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20110328/69c36279/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.Release
Type: application/octet-stream
Size: 30674 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20110328/69c36279/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 5359 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20110328/69c36279/attachment-0005.obj>


More information about the texworks mailing list