[Qgis-user] Re: problems building qgis 1.4.0
Marco Hugentobler
marco at hugis.net
Tue Feb 23 08:15:34 PST 2010
Hi Neil
What is your Qt version?
It looks like some automatically generated user interface files don't fit with
your Qt library.
Regards,
Marco
Am Dienstag, 23. Februar 2010 17.03:09 schrieb Neil Best:
> Marco Hugentobler wrote:
> > Does it help if you add
> >
> > #include <cmath>
> >
> > to src/app/qgsmaptoolrotatepointsymbols.cpp?
> > If it does, I'll add it to svn.
>
> Thanks, Marco, that did help. Now I have a new error!
>
> [ 35%] Building CXX object
> src/app/CMakeFiles/qgis.dir/composer/qgscomposer.cpp.o
> /home/nbest/src/qgis_1.4.0/build/src/app/../ui/ui_qgscomposerlegendwidgetba
> se.h: In member function ‘void
> Ui_QgsComposerLegendWidgetBase::setupUi(QWidget*)’:
> /home/nbest/src/qgis_1.4.0/build/src/app/../ui/ui_qgscomposerlegendwidgetb
> ase.h:174: error: ‘class QTreeView’ has no member named ‘setHeaderHidden’
> /home/nbest/src/qgis_1.4.0/src/app/composer/qgscomposer.cpp: In member
> function ‘void QgsComposer::on_mActionExportAsPDF_triggered()’:
> /home/nbest/src/qgis_1.4.0/src/app/composer/qgscomposer.cpp:480: error:
> ‘class QPrinter’ has no member named ‘setPaperSize’
> /home/nbest/src/qgis_1.4.0/src/app/composer/qgscomposer.cpp:480: error:
> ‘Millimeter’ is not a member of ‘QPrinter’
> /home/nbest/src/qgis_1.4.0/src/app/composer/qgscomposer.cpp: In member
> function ‘void QgsComposer::on_mActionPrint_triggered()’:
> /home/nbest/src/qgis_1.4.0/src/app/composer/qgscomposer.cpp:499: error:
> ‘class QPrinter’ has no member named ‘setPaperSize’
> /home/nbest/src/qgis_1.4.0/src/app/composer/qgscomposer.cpp:499: error:
> ‘Millimeter’ is not a member of ‘QPrinter’
> /home/nbest/src/qgis_1.4.0/src/app/composer/qgscomposer.cpp: In member
> function ‘void QgsComposer::print(QPrinter&)’:
> /home/nbest/src/qgis_1.4.0/src/app/composer/qgscomposer.cpp:539: warning:
> passing ‘double’ for argument 1 to ‘void QImage::setDotsPerMeterX(int)’
> /home/nbest/src/qgis_1.4.0/src/app/composer/qgscomposer.cpp:540: warning:
> passing ‘double’ for argument 1 to ‘void QImage::setDotsPerMeterY(int)’
> /home/nbest/src/qgis_1.4.0/src/app/composer/qgscomposer.cpp: In member
> function ‘void QgsComposer::on_mActionExportAsImage_triggered()’:
> /home/nbest/src/qgis_1.4.0/src/app/composer/qgscomposer.cpp:682: warning:
> passing ‘double’ for argument 1 to ‘void QImage::setDotsPerMeterX(int)’
> /home/nbest/src/qgis_1.4.0/src/app/composer/qgscomposer.cpp:683: warning:
> passing ‘double’ for argument 1 to ‘void QImage::setDotsPerMeterY(int)’
> make[2]: *** [src/app/CMakeFiles/qgis.dir/composer/qgscomposer.cpp.o] Error
> 1
> make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
> make: *** [all] Error 2
>
> Any idea what's happening here?
>
--
Dr. Marco Hugentobler
HUGIS GmbH
Webereistrasse 66
CH-8134 Adliswil
marco at hugis.net
http://homepage.hispeed.ch/hugis
Technical Advisor QGIS Project Steering Committee
More information about the Qgis-user
mailing list