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.8k Topics 51.2k Posts
  • Building Qt5.9.1 from source for windows

    Solved
    3
    0 Votes
    3 Posts
    754 Views
    D
    Perfect - thanks. Not sure how I missed or mis-understood that.
  • How to launch my software when the installation is finished? (Qt Installer Framework)

    Unsolved
    6
    1 Votes
    6 Posts
    5k Views
    CKurduC
    I made it by controller script function Controller() { installer.installationFinished.connect(function() { var isUpdate = installer.isUpdater(); if(isUpdate) { var targetDir = installer.value("TargetDir"); console.log("targetDir: " + targetDir); installer.executeDetached(targetDir+"/WebSourceManager.exe"); }else{ var result = QMessageBox.question("quit.question", "Start Program", "Do you want to start the installed application?",QMessageBox.Yes | QMessageBox.No); if( result == QMessageBox.Yes) { var targetDir = installer.value("TargetDir"); console.log("targetDir: " + targetDir); console.log("Is Updater: " + installer.isUpdater()); console.log("Is Uninstaller: " + installer.isUninstaller()); console.log("Is Package Manager: " + installer.isPackageManager()); installer.executeDetached(targetDir+"/WebSourceManager.exe"); } } }); installer.updateFinished.connect(function(){ var targetDir = installer.value("TargetDir"); console.log("targetDir: " + targetDir); installer.executeDetached(targetDir+"/WebSourceManager.exe"); }); }
  • Building QT5.6 for 32bit Ubuntu 16.04 from source

    Unsolved
    2
    0 Votes
    2 Posts
    600 Views
    sierdzioS
    You can compile Qt yourself, see this link. Source code is available from git, or here as zip/ tarball.
  • Qt 5.9.1 Static build failing

    Solved
    12
    0 Votes
    12 Posts
    3k Views
    K
    I was about to do that, but first I just tried deleting everything, including the source files qt and started all over again. This seems to have fixed it! It managed to build successfully now and OpenSSL is working too. Thank you for your time :)
  • cant run v-play example

    Unsolved
    2
    0 Votes
    2 Posts
    639 Views
    K
    @Allerknappe said in cant run v-play example: RCC: Error in ‘........\V-Play\mingw_32\mkspecs\common\vplay\resources_user.qrc’: Cannot find file ‘../../../../../V-Play/vplay_license.key’ Did you check if the file vplay_license.key is present and at the right location? If you can find this file, there is a problem with your path settings which are not aligned with the situation.
  • Generated file not found

    Unsolved
    2
    0 Votes
    2 Posts
    513 Views
    SGaistS
    Hi, Please show content of the .pro file you are using with your custom compiler.
  • qmake pre-compiling

    Unsolved
    1
    0 Votes
    1 Posts
    450 Views
    No one has replied
  • Qt 5.9.1 building on windows and OpenGL support

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    jsulmJ
    @pip010 said in Qt 5.9.1 building on windows and OpenGL support: how do the qt guys produce the official build, please post step by step instructions ... Why do you ask this here? This forum is for Qt users not for "qt guys".
  • Linking of fontconfig and gstreamer with Qt fails

    Unsolved fontconfig configure gstreamer1.0
    2
    0 Votes
    2 Posts
    3k Views
    KartK
    I was able to solve the problem where fontconfig was not able to find libexpat by adding the following in my xplatform qmake.conf QMAKE_LINK = $HOST-g++ -lts -L/opt/qt/qt5.9.1arm/lib -Wl,-rpath -Wl,/opt/qt/qt5.9.1arm/lib QMAKE_LINK_SHLIB= $HOST-g++ -lts -L/opt/qt/qt5.9.1arm/lib -Wl,-rpath -Wl,/opt/qt/qt5.9.1arm/lib
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Difference between -embedded, -embedded arm and giving xplatform.

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    SGaistS
    No I can't. I haven't checked all the variations you can make with configure's option. Device usually refers to a mkpsec for a specific device.
  • Missing header file EGL/egl.h while building Qt 5.9.1 on Windows

    Solved
    6
    0 Votes
    6 Posts
    7k Views
    P
    I dont have a pro file. I am building Qt in windows. Using cmd. This option fails for me too (with angle).
  • Building Mysql-Plugin on OS X with Qt 5.9.1 fails

    Solved
    2
    0 Votes
    2 Posts
    946 Views
    G
    Replying my own question: The following tweaks worked for compiling the libs: Change mysql.pro to: TARGET = qsqlmysql HEADERS += $$PWD/qsql_mysql_p.h SOURCES += $$PWD/qsql_mysql.cpp $$PWD/main.cpp LIBS += -L/usr/local/mysql/include #QMAKE_USE += mysql OTHER_FILES += mysql.json PLUGIN_CLASS_NAME = QMYSQLDriverPlugin include(../qsqldriverbase.pri) Then run qmake like this: /Users/daniel/Qt/5.9.1/clang_64/bin/qmake "INCLUDEPATH+=/usr/local/mysql" "LIBS+=-L/usr/local/mysql/lib -lmysqlclient" "INCLUDEPATH+=/usr/local/mysql/include" mysql.pro make and install: make make install My Application is still not using the Mysql-driver, but that the next step, I presume. Edit: make install line added
  • 0 Votes
    2 Posts
    491 Views
    m.sueM
    Hi @redknight106 Maybe libwayland-client.so.0 itself needs some other library that it cannot find. You can check with ldd -Michael.
  • Static exe still requires a few dlls.

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    T
    @SGaist I think yes, I did. I'll check all dependencies again.
  • Project build error

    Unsolved
    2
    0 Votes
    2 Posts
    825 Views
    A
    @ronx7 Hi, you cut out the important part of the build log that had the actual errors, can you post the full build log if it isn't too big, or at least include the part with the error?
  • android-build with androiddeployqt fails to 'notify project evaluation listener'

    Unsolved
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Qt source build on mac

    Unsolved
    11
    0 Votes
    11 Posts
    3k Views
    P
    Fine i have only Xcode 7.3.1 not 8... Xcode 8 is not support on ElCapitan... 10.11 macOS Sierra 10.12 update is to slow i have look in other mac box..
  • Trying to run default QT Plain C++ App -> -1073741515

    Solved
    21
    0 Votes
    21 Posts
    9k Views
    jsulmJ
    @ghost23 "I cannot compile my plain c++ app in Debug mode" - you don't need a debugger to build in debug mode. You only need it if you want to debug. "Why isn't that mentioned in the documentation?" - it is: http://doc.qt.io/qtcreator/creator-debugger-engines.html
  • where is the documentation?

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    D
    The only thing inside Docs is QtWebView. There are no directories for the various installed version of Qt.