Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trunk compilation errors #12182

Closed
qgib opened this issue Nov 19, 2009 · 1 comment
Closed

trunk compilation errors #12182

qgib opened this issue Nov 19, 2009 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Nov 19, 2009

Author Name: Markus Neteler (Markus Neteler)
Original Redmine Issue: 2122

Redmine category:build/install
Assignee: nobody -


I don't manage to compile trunk on Mandriva 2008, 64bit:

...
-- Found Qt-Version 4.3.1                                                                                                                                                             
-- Found Qt-Version 4.3.1                                                                                                                                                             
-- Configuring done                                                                                                                                                                   
-- Generating done                                                                                                                                                                    
-- Build files have been written to: /home/neteler/software/qgis_trunk/build                                                                                                          
[  0%] [  1%] [  1%] Built target svnversion                                                                                                                                          
Built target pluginstaller                                                                                                                                                            
Built target mapserverexport                                                                                                                                                          
[  8%] [  8%] Built target ...                                                                                               
[ 33%] Building CXX object src/gui/CMakeFiles/qgis_gui.dir/qgsdetaileditemdelegate.o                                                                                                  
[ 33%] Building CXX object src/providers/wfs/CMakeFiles/wfsprovider.dir/qgswfsprovider.o
[ 33%] Building CXX object src/providers/grass/CMakeFiles/qgisgrass.dir/qgsgrassprovider.o
/home/neteler/software/qgis_trunk/src/gui/qgscolorbutton.cpp: In member function ‘void [[QgsColorButtonV]]2::setColor(const QColor&)’:
/home/neteler/software/qgis_trunk/src/gui/qgscolorbutton.cpp:93: error: ‘class QPainter’ has no member named ‘drawRoundedRect’
maker2: *** [src/gui/CMakeFiles/qgis_gui.dir/qgscolorbutton.o] Error 1
maker2: *** Waiting for unfinished jobs....
[ 33%] Building CXX object src/providers/wfs/CMakeFiles/wfsprovider.dir/qgswfsdata.o
maker1: *** [src/gui/CMakeFiles/qgis_gui.dir/all] Error 2
maker1: *** Waiting for unfinished jobs....
[ 33%] Building CXX object src/providers/grass/CMakeFiles/qgisgrass.dir/qgsgrass.o
[ 33%] Building CXX object src/providers/wfs/CMakeFiles/wfsprovider.dir/moc_qgswfsdata.o
[ 33%] Building CXX object src/providers/wfs/CMakeFiles/wfsprovider.dir/moc_qgswfsprovider.o
Linking CXX shared library libqgisgrass.so
Linking CXX shared module libwfsprovider.so
[ 33%] Built target qgisgrass
[ 33%] Built target wfsprovider
make: *** [all] Error 2
[  0%] Built target svnversion
[  7%] Built target ui
[ 23%] Built target qgis_core
[ 23%] Building CXX object src/gui/CMakeFiles/qgis_gui.dir/qgscolorbutton.o
/home/neteler/software/qgis_trunk/src/gui/qgscolorbutton.cpp: In member function ‘void [[QgsColorButtonV]]2::setColor(const QColor&)’:
/home/neteler/software/qgis_trunk/src/gui/qgscolorbutton.cpp:93: error: ‘class QPainter’ has no member named ‘drawRoundedRect’
maker2: *** [src/gui/CMakeFiles/qgis_gui.dir/qgscolorbutton.o] Error 1
maker1: *** [src/gui/CMakeFiles/qgis_gui.dir/all] Error 2
make: *** [all] Error 2

Deleting the offending line (brutal hack) leads to the next error:

[ 51%] Building CXX object src/app/CMakeFiles/qgis.dir/qgsaddattrdialog.o
/home/neteler/software/qgis_trunk/src/app/qgisapp.cpp: In member function ‘void [[QgisApp]]::loadPythonSupport()’:
/home/neteler/software/qgis_trunk/src/app/qgisapp.cpp:4882: error: no matching function for call to ‘QLibrary::QLibrary(QString&, QString&)’
/usr/lib/qt4/include/QtCore/qlibrary.h:96: note: candidates are: QLibrary::QLibrary(const QLibrary&)
/usr/lib/qt4/include/QtCore/qlibrary.h:68: note:                 QLibrary::QLibrary(const QString&, int, QObject*)
/usr/lib/qt4/include/QtCore/qlibrary.h:67: note:                 QLibrary::QLibrary(const QString&, QObject*)
/usr/lib/qt4/include/QtCore/qlibrary.h:66: note:                 QLibrary::QLibrary(QObject*)
[ 51%] Building CXX object src/app/CMakeFiles/qgis.dir/qgsattributeactiondialog.o
maker2: *** [src/app/CMakeFiles/qgis.dir/qgisapp.o] Error 1
maker2: *** Waiting for unfinished jobs....
Parsing SIP files for 'gui' library...
/usr/bin/sip -c gui -b /home/neteler/software/qgis_trunk/build/python/gui/gui.sbf -I /home/neteler/software/qgis_trunk/python -I /usr/share/sip/PyQt4 -x [[VendorID]] -t WS_X11 -x [[PyQt]]_NoPrintRangeBug -t Qt_4_3_0 -g /home/neteler/software/qgis_trunk/python/gui/gui.sip
maker1: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
Parsing SIP files for 'analysis' library...
/usr/bin/sip -c analysis -b /home/neteler/software/qgis_trunk/build/python/analysis/analysis.sbf -I /home/neteler/software/qgis_trunk/python -I /usr/share/sip/PyQt4 -x [[VendorID]] -t WS_X11 -x [[PyQt]]_NoPrintRangeBug -t Qt_4_3_0 -g /home/neteler/software/qgis_trunk/python/analysis/analysis.sip
Creating makefiles...
Creating qgisconfig.py...
...

@qgib
Copy link
Contributor Author

qgib commented Nov 19, 2009

Author Name: Markus Neteler (Markus Neteler)


sorry, created due to unresponsive trac. Clone of #12182


  • resolution was changed from to duplicate
  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS labels May 24, 2019
@qgib qgib added this to the Version 1.4.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS
Projects
None yet
Development

No branches or pull requests

1 participant