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
  • CQtDeployer

    Unsolved
    14
    1 Votes
    14 Posts
    3k Views
    EndrII 0E
    @hobbyProgrammer Hello I am the author of the QtDeployer utility. This utility was written specifically to solve the problems you are trying to solve. However, at the moment, the utility can create distributions only from the already created qt components. this means that you must: Prepare the qt framework assembly using a cross-platform compiler. Build your project using a cross-platform compiler with the qt framework created in the 1st step. Using cqtdeployer to collect all dependencies into one distribution. For the third step, only the cqtdeployer utility is suitable, because it is the only one that has its own ELF PE and QML parsers. In the process of developing my programs, I use a Linux-based server to create applications for Windows and Linux. You are not the first to try this way, so I’m thinking of writing an article on how to deploy applications on the same host for different platforms.
  • make[1]: *** [makefile:1624: obj/release/pcre_exec.o] Error 1

    Unsolved
    31
    0 Votes
    31 Posts
    7k Views
    jsulmJ
    @Sekhar Please take a look at https://doc.qt.io/qt-5/linux-deployment.html But your issue could be different: did you cross compile Qt with EGLFS support?
  • creating widgets with fixed size and position

    4
    0 Votes
    4 Posts
    417 Views
    jsulmJ
    @K-Str said in creating widgets with fixed size and position: I think this is solved now. Please mark as solved
  • downloading of QT installer block

    Unsolved
    6
    0 Votes
    6 Posts
    695 Views
    SGaistS
    Do you have an IT team that deals with your infrastructure ?
  • error with android ndk: no compiler clang++

    Unsolved
    2
    0 Votes
    2 Posts
    297 Views
    J.HilkJ
    @vudangkhoa2906 update your NDK, preferable to the newest stable version
  • QtCreator Remote Debugging

    Unsolved
    2
    0 Votes
    2 Posts
    833 Views
    S
    Became much to complicated, so I just put nfsserver on pi and mount / as sysroot. Way too many places to set solib-search-path" or "set sysroot"? just mounting the entire sd as an nfs mount to sysroot was a lot easier. On the display, the click check box and enter the DISPLAY did not work for me, I had to actually make an env value in Build Environment and place it there. DISPLAY localhost:10.0 there... It did not work for me in the run in terminal click to forward to this display... don't know if I am doing something wrong there or if this is bug.. but the correct place for me was in the Build Environment ...
  • qmake for-loop gives empty variable from hand-typed list

    Solved
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi and welcome to devnet, Your for line is wrong. It should be: for (CVLIB, CVLIBS) { # Your code here } qmake's syntax is not the same as C++. You have to have the opening bracket on the same line as the test/loop/etc..
  • cannot install qt 5.5 from online installer

    Solved
    4
    0 Votes
    4 Posts
    519 Views
    J.HilkJ
    @kamui don't forget to use the topic tools to set this topic to solved :)
  • Deploying Qt app with sqlite database to android phone

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    SGaistS
    The problem is simple: you are trying to create the database in the same folder as your application. That won't work on mobile. It also won't work on desktop if you install the application in the system because usually they will be rightfully put in read-only places. You should use QStandardPaths to get a suitable folder for your application to write into.
  • Error Building 5.13.1 Static due to qttools using g++ in mingw64

    Unsolved
    2
    0 Votes
    2 Posts
    262 Views
    jsulmJ
    @BK_Broiler If you don't need the tools then don't build them. Otherwise I guess you need to satisfy the requirements like CLang (QtCreator uses it for example).
  • c: Command not found

    Solved
    14
    0 Votes
    14 Posts
    6k Views
    aha_1980A
    @Adarsh_Kumar then please tell us more about your setup. which target? which toolchain did you install and where? have you setup Creator for cross compiling? what did you do? Regards
  • QtQuick version 2.11 not installed.

    Solved
    3
    0 Votes
    3 Posts
    4k Views
    P
    Looks like you're right. sudo apt list | grep qt5 revealed the qt5 version for the OS is 5.9.5, which would give QtQuick 2.9. I suspect there isn't a way to update the OS version without switching to Kubuntu. Thanks for your help!
  • 5.12.5 Installation Error Using Maintenance Tool.

    Unsolved maintenancetool qt 5.12.5
    3
    0 Votes
    3 Posts
    1k Views
    R
    Thanks for the input. On WIndows, when you run the Maintenance Tool you check off which compiler you want to use. The Maintenance Tool downloads that compiler. At the point this error happens I have seen the Maintenance Tool download the correct compiler to the Qt directory.
  • Mkspecs in CMake

    Unsolved
    1
    0 Votes
    1 Posts
    255 Views
    No one has replied
  • How to build qt 5.13.1 mysql 8.0 driver?

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    G
    I don't know. Just installed all that things from mysql community server installer. That was really strange... I searched manually: deleted folder config.tests cleared files config.summary, config.opt, config.log, config.cache. Then I qmake include and lib from MYSQLSERVER8.0 folder... And that works... Now I'm connected with my mysql database...
  • Qt5 with msdev2017 - Changing additional include directories breaks CL compiler

    Unsolved
    1
    0 Votes
    1 Posts
    621 Views
    No one has replied
  • WSL Qt Ubuntu?

    Unsolved wsl linux ubuntu
    2
    0 Votes
    2 Posts
    11k Views
    sierdzioS
    @Dariusz said in WSL Qt Ubuntu?: how can I install Qt on Linux in shell? sudo apt install qt5-qmake Or use @benlau's excellent Qt silent installation scripts: https://github.com/benlau/qtci Or compile Qt yourself.
  • Android build issues with OpenSSL on 5.0/5.1

    Solved android pyqt openssl
    7
    0 Votes
    7 Posts
    3k Views
    sierdzioS
    @mkre said in Android build issues with OpenSSL on 5.0/5.1: @sierdzio Is there a guide for either of these two solutions? Running into this issue now for an APK I'm trying to build for an Android 5.0/5.1 device that uses QNetworkRequest to download files from the internet. Option 2 (workaround) is described in the linkg @kviktor posted, just above your comment. As for compiling Qt statically, look in Qt docs and output of ./configure --help. Please remember license (LGPL, GPL) limitations when compiling statically.
  • Windows 10 Qt5.13.1 QML Emulation Layer crashed

    Unsolved
    1
    0 Votes
    1 Posts
    351 Views
    No one has replied
  • SqlDatabase provides no drivers

    Unsolved
    2
    0 Votes
    2 Posts
    174 Views
    SGaistS
    Hi, The drivers are plugins so you need to also have the plugins deployed.