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
  • Plugin DLL can't locate its DLL dependencies

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    piervalliP
    @JKSH , I thought the error " module "QtQuick" is not installed" war for missing library, sorry.
  • ./configure unknown option error

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    S
    It probably was about the version or some installation problem. I completely deleted the files and installed 5.12.12 instead of 5.15.3 now it works properly
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Could not find the required QmakeOutputInstallerKey

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    jsulmJ
    @Sam-artorious What Ubuntu version do you use?
  • Can't run the program

    Unsolved
    10
    0 Votes
    10 Posts
    1k Views
    H
    In the process of doing some tests, I think I got a hint. When running in debugging mode, I found that it stopped at QFontDatabase::addApplicationFont(). It seems that this is where I stopped before in the assembly area. ntdll!RtlRegisterSecureMemoryCacheCallback+0x292a (00007ffb`4b7ea31a) ...something I still don't know what caused the problem all of a sudden, but I'm glad that I seem to have found a starting point. Thanks to everyone who responded.
  • pip install pyqt5 gives errors

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi and welcome to devnet, That's a question you should bring to the author of the PyQt5 bindings.
  • I cannot modify orcale table data using the qsqltablemodel class.

    Unsolved
    7
    0 Votes
    7 Posts
    445 Views
    JonBJ
    @greenhand said in I cannot modify orcale table data using the qsqltablemodel class.: and then use void tableeditor:: submit() function to submit I don't know why you do that, or whether it does anything given that you are using your own QSqlQuery for the data modification. The idea was to to compare whatever UPDATE statement you compose manually for QSqlQuery, which works, against whatever QTableModel issues for its UPDATE (however you discover that) to see if you can spot a difference. Next you might try QSqlQueryModel instead of QSqlTableModel, building up from QSqlQuery which you say does work. Just in case it makes any difference: if (model->submitAll()) { model->database().commit(); } else { model->database().rollback(); QMessageBox::warning(this, tr("Cached Table"), tr("The database reported an error: %1") .arg(model->lastError().text())); } Output, or save up, model->lastError().text() as the first thing in the else, so it definitely reports what came from model->submitAll() failing and cannot be potentially altered by the model->database().rollback();.
  • Deploy a project on Windows 7 - CreateDXGIFactory2 problem

    Unsolved
    2
    0 Votes
    2 Posts
    941 Views
    JonBJ
    @Alhazred said in Deploy a project on Windows 7 - CreateDXGIFactory2 problem: that PC is running Windows 7, and this cannot be changed. When I try to run my tool, I get an error about dxgi.dll and CreateDXGIFactory2. Did you Google for createdxgifactory2 windows 7, where I see several hits discussing this? As a separate matter, Qt 6 does not support Win 7, so I don't know what other stuff may or may not work. I believe there have been threads on this forum discussing how you might get it working, you would have to search....
  • HOW TO: Install Qt SDK on wine (running on GNU/Linux).

    Unsolved
    4
    0 Votes
    4 Posts
    3k Views
    hskoglundH
    Just to add some more info on how use Qt on Wine: I tried today (on Ubuntu 20.04) installing a Qt Creator based on Qt5, I downloaded this one: https://download.qt.io/snapshots/qtcreator_qt5/7.0/7.0.1/134/ It works fine: [image: 5d0a61c1-35f6-44b9-a45e-5b81bbc51b30.png] And you can use it to compile and run Qt 6.2.4 MinGW programs :-) [image: a21ab453-22c5-4ec2-9c11-946c6f797f77.png]
  • cross compiling for ubuntu 21.10 on raspberry pi 4

    Unsolved raspberry pi 4 ubuntu 21.04 cross compile
    6
    0 Votes
    6 Posts
    1k Views
    jsulmJ
    @kingfranz said in cross compiling for ubuntu 21.10 on raspberry pi 4: /usr/lib, /usr/include and /opt Yes, you do not have to copy whole root file system. "I haven't found any info of what is needed" - what is needed heavilly depends on what parts of Qt you want to build. What you can do is: run configure with your current sysroot, see which tests fail and for those you need check why they fail (check configure.log file) and install missing dev packages.
  • Procedure for Deployment to BeagleBone Black?

    Unsolved
    2
    0 Votes
    2 Posts
    264 Views
    jsulmJ
    @LoonyToons said in Procedure for Deployment to BeagleBone Black?: Qt Creator version 5.13 You mean Qt. QtCreator is an IDE and latest version is 7.x I'm not aware of any documentation specifically for BeagleBone, but there is one for RaspberryPi: https://wiki.qt.io/Raspberry_Pi_Beginners_Guide You need to cross compile Qt and your application. It is easier to do that on Linux than on Windows.
  • Instalation version 6.2 on ubuntu20.4

    Unsolved
    3
    0 Votes
    3 Posts
    906 Views
    M
    Hi.. thanks.. I was lucky and already installed.. I did analise the cmake_buil file refer in the error and make the miss directory, than run command to build it again and it finish with no more errors. After that i run the command to install and it looks good.
  • Compile with msvc

    Unsolved
    2
    0 Votes
    2 Posts
    501 Views
    VRoninV
    What version of MSVC are you using?
  • .exe file doesn’t start

    Locked
    24
    0 Votes
    24 Posts
    24k Views
    J.HilkJ
    @Giver_Kdk thats a very old thread here, and copying dll's by hand is usually the wrong and error prone way to deploy your qt application. Qt offers - officially - for Windows the windeployqt tool and for macOS macdeployqt tool: https://doc.qt.io/qt-5/windows-deployment.html https://doc.qt.io/qt-5/macos-deployment.html#macdeploy for linux, you actually have to do it by hand https://doc.qt.io/qt-5/linux-deployment.html or use the unofficial linuxdeployqt tool https://github.com/probonopd/linuxdeployqt
  • How to install Qt and Qt Creator for *entire* system on Windows using online installer

    Unsolved
    3
    0 Votes
    3 Posts
    951 Views
    A
    @hskoglund Yeah, installing for each user is what I'm probably going to have to do. I just wanted to know if there was a way to install for the entire system. I'd say this is a feature that the online installer needs.
  • how to turn your QT into installable file? My program consists of use Database as well.

    Unsolved
    2
    0 Votes
    2 Posts
    132 Views
    JonBJ
    @Sapok_5 Search for windeployqt or linuxdeployqt and read Deploying Qt Applications. If you want to distribute an already-populated database include the necessary file from which to re-create the database in what you distribute.
  • Why the online installer is NO available from the Qt Downloads page now.

    Solved
    11
    0 Votes
    11 Posts
    719 Views
    S
    @jsulm Thanks very much!
  • 0 Votes
    19 Posts
    4k Views
    M
    @JonB Thanks Jon. I will look into those suggestions. I think at this point though, the best thing for me to try, rather than thrashing around with my current project, would be for me to start a new project focused on just replicating this specific issue. I'll try and pare this down to minimal required code, just enough to reproduce the problem This will make findings clearer and easier to communicate to others. If I get to a point where I have something useful to share, I'll do so. Thank you again..Mark
  • Qt 6.2.4 on QNX710 - Qt version is not properly installed

    Solved qnx 7.1 qt 6.2.4 compile
    2
    0 Votes
    2 Posts
    908 Views
    W
    The Qt version was indeed not properly installed. qmake expects a specific directory for target libraries $ ~/Qt6/6.2.4/qnx/bin/qmake -v QMake version 3.1 Using Qt version 6.2.4 in /home/werner/qnx710/target/qnx7/home/werner/Qt6/6.2.4/qnx/lib So to fix QT Creator, I simply had to create a symbolic link: $ cd ~/qnx710/target/qnx7 $ mkdir -p home/werner $ ln -s ~/Qt6 .
  • Compilation of Qt5.3.1 on Ubuntu 20.04

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    K
    @SGaist No, because qmake was still failing with cannot find spec_pre.prf. In the meantime I have made a patch to hard-code library paths for my setup into qmakeevaluator.cpp (yes, it's an awful "fix" but I just need this to run on one specific system and I wanted to be able to move on to see how far the rabbit hole goes). Now bitbake -c configure qtbase-native completes successfully. But just as the author of the other topic, I get downstream failures when trying run the complete build with bitbake qtbase-native. However, it's not yet clear to me if these errors are related to same root-couse (I think not).