FS#1478compile qcad from git source problem
- Type
- Bug
- Status
- Closed
- Resolution
- Deferred
- Category
- QCAD (main)
- Severity
- Low
- Priority
- Low
- Reported version
- 3.15.5
- Operating system
- Linux (All / Other)
- Reported
- 2016-09-12 by oystercatcher
- Closed
- 2016-09-12 by andrew
I am following the instructions for compiling qcad from source
http://www.qcad.org/en/component/content/article/78-qcad/111-qcad-compilation-from-sources
I am using fedora 24 and qt4
git clone https://github.com/qcad/qcad
cd qcad
qmake-qt4 -r this step ok
make release this step fails
RSettings.cpp: In static member function ‘static QStringList RSettings::getPrinterNames()’:
RSettings.cpp:722:12: error: ‘availablePrinterNames’ is not a member of ‘QPrinterInfo’
return QPrinterInfo::availablePrinterNames();
^~~~~~~~~~~~
RSettings.cpp: In static member function ‘static QString RSettings::getDefaultPrinterName()’:
RSettings.cpp:726:12: error: ‘defaultPrinterName’ is not a member of ‘QPrinterInfo’
return QPrinterInfo::defaultPrinterName();
^~~~~~~~~~~~
Makefile.Release:2505: recipe for target 'release/RSettings.o' failed
make[3]: *** [release/RSettings.o] Error 1
Comments (1)
To get a proper build, it's recommended to check out a tagged version. The master branch is only back ported to Qt 4 before a release.