Skip to content

Installation and Deployment

Your Qt just doesn't want to build? Your compiler can't find the libs? Here's where you find comfort and understanding. And help.
9.7k Topics 51.1k Posts
  • 0 Votes
    1 Posts
    329 Views
    No one has replied
  • A error occur when VS2008 compile Qt 5.4.2.

    2
    0 Votes
    2 Posts
    479 Views
    C
    another error
  • QML Text not rendered using custom build VS2015 Qt 5.6

    qml qt5.6 vs2015 text
    3
    0 Votes
    3 Posts
    2k Views
    M
    So as it turns out, compiling Qt 5.5 from git seems to solve this problem. I tried my demo program, as well as Maroon, and both display text by default (without having to set renderType to Text.NativeRendering). Dang it. That's what I get for trying a pre-release version. Thanks for the suggestion.
  • Qt + GCC 4.9 Macports + openmp (MAC - Mavericks)

    15
    0 Votes
    15 Posts
    11k Views
    C
    Hi, I also would like to use openmp with qt on mac, Yosemite 10.10. Did you manage to solve your issue with GCC 4.9 or any other compiler?
  • 0 Votes
    2 Posts
    2k Views
    L
    Its ugly workaround, but can helps. Open your <EGL/eglplatform.h> in text editor and after strings: #include <X11/Xlib.h> #include <X11/Xutil.h> add following strings: #undef None #undef CursorShape
  • Could not verify Hash during installation

    hash documentation installation setup
    3
    0 Votes
    3 Posts
    3k Views
    SGaistS
    Hi and welcome to devnet, You can use QtSdkRepoChooser to try another mirror. Hope it helps
  • Running Qt application on headless Rpi

    8
    0 Votes
    8 Posts
    4k Views
    jsulmJ
    Search in the Qt forums, there are discussions about not found platform plugins. Your application is not able to find needed platform plugin. You should read http://doc.qt.io/qt-5/deployment.html as well.
  • Qt installation on Raspbian Jessie fails

    2
    0 Votes
    2 Posts
    4k Views
    T
    @mrdebug has the same problem as you (@onlydp ) https://forum.qt.io/topic/57801/unresolved-correct-way-to-compile-qt-for-raspberry-pi
  • Where do I actually get the src files for 5.5?

    9
    0 Votes
    9 Posts
    3k Views
    SGaistS
    You're welcome ! Since you have it working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :) Also, while browsing the forum, consider up-voting answers that helped you, it will make them easier to find for other users :)
  • Qt on Raspberry Pi (new problem - solved somehow)

    5
    1 Votes
    5 Posts
    2k Views
    O
    Hi again, one night later (I gave the make some time to work) I saw that now the make puts out some errors. I don't think that's linked to my probleme above, but still it has something to do with installing Qt on Raspberry Pi, so I don't think it would be useful to open a new topic. As I said I gave the make a night to run and the first half hour while I had an eye on it everything went fine. No errors, new outputs. Everything fine. But the moment I looked into it today there have been a couple of errors. I did a rerun of the make to see what is fine and what fails. This is the output: make cd qtbase/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/qtbase.pro -o Makefile ) && make -f Makefile make[1]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase' cd src/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/src.pro -o Makefile ) && make -f Makefile make[2]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src' cd tools/bootstrap/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/bootstrap/bootstrap.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/bootstrap' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/bootstrap' cd tools/moc/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/moc/moc.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/moc' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/moc' cd tools/rcc/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/rcc/rcc.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/rcc' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/rcc' cd 3rdparty/pcre/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/pcre/pcre.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/pcre' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/pcre' cd corelib/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib/corelib.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib' cd tools/qlalr/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/qlalr/qlalr.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/qlalr' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/qlalr' cd network/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/network/network.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/network' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/network' cd sql/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/sql/sql.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/sql' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/sql' cd xml/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/xml/xml.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/xml' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/xml' cd 3rdparty/harfbuzz-ng/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/harfbuzz-ng' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/harfbuzz-ng' cd gui/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/gui/gui.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/gui' g++ -c -include .pch/Qt5Gui -pipe -O3 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_XKB -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_ENABLE_HARFBUZZ_NG -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.5.0 -I../../include/QtGui/5.5.0/QtGui -Iimage -I../3rdparty/harfbuzz-ng/include -I../../include/QtCore/5.5.0 -I../../include/QtCore/5.5.0/QtCore -I../../include/QtCore -I.moc -I../../mkspecs/linux-g++ -o .obj/qpdf.o painting/qpdf.cpp painting/qpdf.cpp: In member function ‘int QPdfEnginePrivate::createShadingFunction(const QGradient*, int, int, bool, bool)’: painting/qpdf.cpp:1982:70: error: no matching function for call to ‘qBound(double, const float&, double)’ painting/qpdf.cpp:1982:70: note: candidate is: ../../include/QtCore/../../src/corelib/global/qglobal.h:543:34: note: template<class T> constexpr const T& qBound(const T&, const T&, const T&) painting/qpdf.cpp:1983:73: error: no matching function for call to ‘qBound(double, const float&, double)’ painting/qpdf.cpp:1983:73: note: candidate is: ../../include/QtCore/../../src/corelib/global/qglobal.h:543:34: note: template<class T> constexpr const T& qBound(const T&, const T&, const T&) painting/qpdf.cpp:1991:66: error: no matching function for call to ‘qBound(double, const float&, double)’ painting/qpdf.cpp:1991:66: note: candidate is: ../../include/QtCore/../../src/corelib/global/qglobal.h:543:34: note: template<class T> constexpr const T& qBound(const T&, const T&, const T&) painting/qpdf.cpp:1992:69: error: no matching function for call to ‘qBound(double, const float&, double)’ painting/qpdf.cpp:1992:69: note: candidate is: ../../include/QtCore/../../src/corelib/global/qglobal.h:543:34: note: template<class T> constexpr const T& qBound(const T&, const T&, const T&) painting/qpdf.cpp: In member function ‘int QPdfEnginePrivate::generateRadialGradientShader(const QRadialGradient*, const QTransform&, bool)’: painting/qpdf.cpp:2157:44: error: ambiguous overload for ‘operator<<’ in ‘(&(&(&(& s.QPdf::ByteStream::operator<<(((const char*)"<<\012/ShadingType 3\012/ColorSpace ")))->QPdf::ByteStream::operator<<((alpha ? ((const char*)"/DeviceGray\012") : ((const char*)"/DeviceRGB\012"))))->QPdf::ByteStream::operator<<(((const char*)"/AntiAlias true\012/Domain [0 1]\012/Coords [")))->QPdf::ByteStream::operator<<(p0.QPointF::x()))->QPdf::ByteStream::operator<<(p0.QPointF::y()) << r0’ painting/qpdf.cpp:2157:44: note: candidates are: painting/qpdf.cpp:180:17: note: QPdf::ByteStream& QPdf::ByteStream::operator<<(char) painting/qpdf.cpp:218:17: note: QPdf::ByteStream& QPdf::ByteStream::operator<<(qreal) painting/qpdf.cpp:225:17: note: QPdf::ByteStream& QPdf::ByteStream::operator<<(int) Makefile:47997: recipe for target '.obj/qpdf.o' failed make[3]: *** [.obj/qpdf.o] Error 1 make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/gui' Makefile:446: recipe for target 'sub-gui-make_first' failed make[2]: *** [sub-gui-make_first] Error 2 make[2]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src' Makefile:45: recipe for target 'sub-src-make_first' failed make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase' Makefile:72: recipe for target 'module-qtbase-make_first' failed make: *** [module-qtbase-make_first] Error 2 Setup is the same as above. Raspberry Pi 2 with Raspbian on it. Any ideas how to solve this? I thought about deactivating the PDFEngine in Qt because I don't need it at the moment. Due to that I took a look into "./configure -h" whether that is possible and I found options for a lot other plugins or parts of Qt, but no PDF engine EDIT: I tried to replace my qpdf.cpp with the qpdf of this page (https://codereview.qt-project.org/#/c/122004/) because I've had to use configure with '-qreal float' and that's there me google led to. But the error seems to be the same. (RE-EDIT: it isn't the same. There is still an error but it looks different. Output following) make cd qtbase/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/qtbase.pro -o Makefile ) && make -f Makefile make[1]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase' cd src/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/src.pro -o Makefile ) && make -f Makefile make[2]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src' cd tools/bootstrap/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/bootstrap/bootstrap.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/bootstrap' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/bootstrap' cd tools/moc/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/moc/moc.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/moc' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/moc' cd tools/rcc/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/rcc/rcc.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/rcc' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/rcc' cd 3rdparty/pcre/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/pcre/pcre.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/pcre' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/pcre' cd corelib/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib/corelib.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib' cd tools/qlalr/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/qlalr/qlalr.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/qlalr' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/qlalr' cd network/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/network/network.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/network' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/network' cd sql/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/sql/sql.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/sql' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/sql' cd xml/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/xml/xml.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/xml' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/xml' cd 3rdparty/harfbuzz-ng/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/harfbuzz-ng' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/harfbuzz-ng' cd gui/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/gui/gui.pro -o Makefile ) && make -f Makefile make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/gui' g++ -c -include .pch/Qt5Gui -pipe -O3 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_XKB -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_ENABLE_HARFBUZZ_NG -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.5.0 -I../../include/QtGui/5.5.0/QtGui -Iimage -I../3rdparty/harfbuzz-ng/include -I../../include/QtCore/5.5.0 -I../../include/QtCore/5.5.0/QtCore -I../../include/QtCore -I.moc -I../../mkspecs/linux-g++ -o .obj/qpdf.o painting/qpdf.cpp painting/qpdf.cpp: In member function ‘int QPdfEnginePrivate::generateRadialGradientShader(const QRadialGradient*, const QTransform&, bool)’: painting/qpdf.cpp:2157:44: error: ambiguous overload for ‘operator<<’ in ‘(&(&(&(& s.QPdf::ByteStream::operator<<(((const char*)"<<\012/ShadingType 3\012/ColorSpace ")))->QPdf::ByteStream::operator<<((alpha ? ((const char*)"/DeviceGray\012") : ((const char*)"/DeviceRGB\012"))))->QPdf::ByteStream::operator<<(((const char*)"/AntiAlias true\012/Domain [0 1]\012/Coords [")))->QPdf::ByteStream::operator<<(p0.QPointF::x()))->QPdf::ByteStream::operator<<(p0.QPointF::y()) << r0’ painting/qpdf.cpp:2157:44: note: candidates are: painting/qpdf.cpp:180:17: note: QPdf::ByteStream& QPdf::ByteStream::operator<<(char) painting/qpdf.cpp:218:17: note: QPdf::ByteStream& QPdf::ByteStream::operator<<(qreal) painting/qpdf.cpp:225:17: note: QPdf::ByteStream& QPdf::ByteStream::operator<<(int) Makefile:47997: recipe for target '.obj/qpdf.o' failed make[3]: *** [.obj/qpdf.o] Error 1 make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/gui' Makefile:446: recipe for target 'sub-gui-make_first' failed make[2]: *** [sub-gui-make_first] Error 2 make[2]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src' Makefile:45: recipe for target 'sub-src-make_first' failed make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase' Makefile:72: recipe for target 'module-qtbase-make_first' failed make: *** [module-qtbase-make_first] Error 2 EDIT No.3: I solved this right now by uncomment row 2157 of the asked document. But that's only a solution for me because qpdf isn't necessary in my case. Maybe the devs should look into this problem sometime. (Btw. I used the updated file not the standart one)
  • Unknown module(s) in QT: quick qml

    Solved
    19
    0 Votes
    19 Posts
    66k Views
    W
    Had same issue on lubuntu and Qt 5.2.1. I removed Qt configuration files from .config folder in my home dir. rm -r ~.config/QtProject rm ~.config/QtProject.conf Reconfigure project again and all works as expected
  • OS X deployment - frameworks copied from QTCreator

    1
    0 Votes
    1 Posts
    383 Views
    No one has replied
  • Qt Visual Studio Debug Issue

    2
    0 Votes
    2 Posts
    694 Views
    C
    @Kavlakoglu Did you install Qt from here: http://www.qt.io/download-open-source/? Can you also show the compilation output? did everything compile/link ok with no warnings/errors? Have you checked that c:.....\debug\programname.exe exists?
  • 0 Votes
    2 Posts
    1k Views
    C
    @jitu059_Lalat The long and short if it are, you have two ways to do this: Find all the dll's that your app depends on. You can do this with the tool http://www.dependencywalker.com/. Once you found all the dll's copy them into the same folder as your executable. This is now your "delivery package" you will copy the executable + dlls from PC to PC. This method is perhaps a bit easier/faster in the short term, but when you compile with different versions of Qt/Windows you may require a different set of dlls (i.e. Qt4 Dlls don't match Qt5 Dlls). Download the Qt source code and compile it for static linking. Then when you build your code you will get a much larger executable file, but it will contain everything it needs - a standalone executable. This is perhaps a bit more work on your part, but master this and it makes deploying your project from PC to PC much easier. Have a go at one or other method, if you get stuck then ask again. But as SGaist said, there is lots of documentation out there already : )
  • 0 Votes
    2 Posts
    2k Views
    C
    @Derrick-Johnson When I had issues with my company firewall/ssl certificates I downloaded the offline installer and it worked fine. From the page: http://www.qt.io/download-open-source/, click the "view all downloads" scroll down until you see the offline installers and pick the one that you need. When you run the installer it looks the same (i.e. type in your username / password, but it does not need to do the ssl handshaking).
  • QT 5.5 compiled from source - doc problem

    17
    0 Votes
    17 Posts
    4k Views
    SGaistS
    Look a the lib folder you'll see directly. IIRC when the docs are not shown properly, it generally means the Assistant was not built using webkit
  • Static and Dynamic linking (LGPL and Commercial)

    lgpl commercial license
    2
    0 Votes
    2 Posts
    2k Views
    M
    @scrolling said: But, what does "dynamic linking" means? It applies only to Qt linking. This means that you can use LGPL version for closed source software only if you link dynamically QT libraries
  • Compile errors trying to build the Qt v5.4.2 source kit on a Mac

    10
    0 Votes
    10 Posts
    3k Views
    SGaistS
    I know the problem. Apple's philosophy is always develop with the latest version of OS X and Xcode which is not always ideal. Just keep in mind that with El Capitan coming up, jumping to only Lion or Mountain Lion might not be enough on the long run.
  • Inno Setup issue: windows security shield does not appear on setup icon

    1
    0 Votes
    1 Posts
    493 Views
    No one has replied
  • [Solved] qtcreator.exe has stopped working

    3
    0 Votes
    3 Posts
    5k Views
    M
    @Chris-Kawa Thanks! I had searched before and found the welcome.dll causes the error (as you said). I removed this dll from C:\Qt\Qt5.5.0\Tools\QtCreator\lib\qtcreator\plugins and now qtcreator.exe has been launched successfully.