[ANNOUNCEMENT] Updated: qt4-4.7.4-3

Angelo Graziosi angelo.graziosi@alice.it
Sat Mar 3 20:14:00 GMT 2012


Yaakov (Cygwin/X) wrote:

> I have finally updated Qt4 in the Cygwin distribution to 4.7.4

Just for the sake of completeness...

I find the following problem with Cygwin-X QT4 4.7.4.

Trying to build a CERN application, ROOT [*], it fails in this way:

[...]
g++ -O2 -pipe -Wall -Woverloaded-virtual -Iinclude -I/usr/X11R6/include 
-DQT3_SUPPORT -DQT_DLL -DQT_THREAD_SUPPORT -I. -I/usr/include/qt4 
-I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support 
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui 
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL 
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg 
-I/usr/include/qt4/QtTest -I/usr/include/qt4/QtWebKit 
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -o 
gui/qtgsi/src/TQCanvasImp.o -c /tmp/root/gui/qtgsi/src/TQCanvasImp.cxx
Generating dictionary gui/qtgsi/src/G__QtGSI.cxx...
core/utils/src/rootcint_tmp.exe -cint -f gui/qtgsi/src/G__QtGSI.cxx -c 
-DQTVERS=4 /tmp/root/gui/qtgsi/inc/TQApplication.h 
/tmp/root/gui/qtgsi/inc/TQRootDialog.h 
/tmp/root/gui/qtgsi/inc/TQRootCanvas.h 
/tmp/root/gui/qtgsi/inc/TQRootGuiFactory.h 
/tmp/root/gui/qtgsi/inc/TQCanvasMenu.h 
/tmp/root/gui/qtgsi/inc/TQRootApplication.h 
/tmp/root/gui/qtgsi/inc/TQCanvasImp.h /tmp/root/gui/qtgsi/inc/LinkDef.h
Error: Symbol QCloseEvent is not defined in current scope 
include/TQRootDialog.h:81:
Error: Symbol ce is not defined in current scope  include/TQRootDialog.h:81:
Error: void type variable can not be declared include/TQRootDialog.h:81:
Error: Syntax error include/TQRootCanvas.h:159:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing gui/qtgsi/src/G__QtGSI.cxx gui/qtgsi/src/G__QtGSI.h !!!
Error: core/utils/src/rootcint_tmp: error loading headers...
/tmp/root/gui/qtgsi/Module.mk:69: recipe for target 
`gui/qtgsi/src/G__QtGSI.cxx' failed
make: *** [gui/qtgsi/src/G__QtGSI.cxx] Error 1

To reproduce:

$ wget ftp://root.cern.ch/root/root_v5.32.01.source.tar.gz
$ tar -xf root_v5.32.01.source.tar.gz
$ cd root

$ ./configure win32gcc --enable-qt --with-qt-incdir=/usr/include/qt4 
--with-qt-libdir=/usr/lib/qt4/lib 2>&1 | tee /tmp/build-ROOT.log

$ make 2>&1 | tee -a /tmp/build-ROOT.log

ROOT builds fine with QT4 4.5 on Cygwin and on GNU/Linux Kubuntu with 
QT4 4.7.4.

Another strange thing I notice is that I need to add

   --with-qt-incdir=/usr/include/qt4 --with-qt-libdir=/usr/lib/qt4/lib

to "./configure..."

Ciao,
Angelo.

---
http://root.cern.ch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-ROOT-configure.output.bz2
Type: application/octet-stream
Size: 1928 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20120303/73dc8c01/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


More information about the Cygwin-xfree mailing list