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
  • Deployment error on Windows

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    S
    No, the problem was (in my opinion) that Windows didn't want to work with MinGW. After I switched to MSVC everything works without problems. Thank you for your help. (can someone give me a reputation so I can respond more quickly?)
  • How can I suppress overriding recipe for target warning?

    Solved
    5
    0 Votes
    5 Posts
    3k Views
    A
    Thanks, it was because of output folder. object_with_source option makes error like when I compile without an option. so I just use object_parallel_to_source
  • 13 LNK2001 errors with qt 5.11

    Unsolved lnk2001 qt5.11
    4
    0 Votes
    4 Posts
    1k Views
    SGaistS
    The moc files are generated code, they should not be part of the source tree. Nuke them and rebuild with a more recent version of Qt. Qt 4 has already reached end of life for a couple of years now.
  • Installing Qt Creator on Ubuntu 18.04

    Solved
    4
    0 Votes
    4 Posts
    3k Views
    SGaistS
    You're welcome ! You can mark the thread a solved using the "Topic Tools" button. When finding an answer that you deem interesting, you can up vote it by clicking the upward arrow beside the quote word.
  • Unable to install QT 5.10.1 non-interactively in docker container

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    U
    @jsulm Yeah I do have internet on my Windows server 2016 VM. When I run this script on VM it installed. When I try to run the same insatller inside docker, it will get stuck and show this warning.
  • Tryin to build QT Creator 4.7 on Windows Server 2012 R2

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    C
    by renaming qbs.pro to something else it's ignored... however I had so many followup errors that I gave up. Set it to solved though.
  • QtIFW: How to use the Operation "Move"

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    RatzzR
    @Schenk said in QtIFW: How to use the Operation "Move": What do you do? Move a file present in the installer to a path(or folder) you want after installation. Do you rename a file? No. It was a test case u can still give your text file name.
  • QtCharts for CentOs7

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    JonBJ
    @Filippov It is my understanding (I'd be pleased to be corrected if I am mistaken?) that this is a choice for the CentOS distribution people, not Qt people. I think you're liable to need to compile this yourself, unless you can find/await a distro.
  • Using sqlite with a static build of Qt 5.9.4 in MSVC2017

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    SGaistS
    What you can do is create a project using qmake that uses everything you need for your other application then inspect the generated visual studio project for the informations you need.
  • Error during Uninstallation and installation Process

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    RatzzR
    @user2301 said in Error during Uninstallation and installation Process: The install is working only if the windows service is not already installed U can choose different target path for installation (Just for testing). QTIFW does for already installed path https://bugreports.qt.io/browse/QTIFW-482 otherwise I will get the error from within the QT installer. What error you are getting?? I uninstall the windows service just by removing my windows service TargetDir directory You should use MaintenanceTool.exe for clean uninstall . Its present in target directory of your installed application.
  • Building for android from source; undefined reference to Win32MakefileGenerator

    Solved
    15
    0 Votes
    15 Posts
    3k Views
    sierdzioS
    No worries :-) Building Qt is a complex thing, I guess we all understand it and went through similar hurdles at some point in the past ;-) Happy coding!
  • How to find out plugins that my app needs

    Solved
    3
    1 Votes
    3 Posts
    937 Views
    S
    Thank you @hskoglund !!! Simple and to the point !
  • MIPS64 + Debian + Qt 5.9.1

    Unsolved qt 5.9.1
    24
    0 Votes
    24 Posts
    7k Views
    SGaistS
    In what way is specialized ?
  • Compiling Qt 5.6.1 on CentOS 6/7 fails with Yarr errors

    Unsolved
    1
    0 Votes
    1 Posts
    329 Views
    No one has replied
  • QtIFW: Mkdir and Delte does not work at C:

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    S
    Curiously, this operation works... Component.prototype.createOperations = function() { component.createOperations(); component.addElevatedOperation("Execute", "@TargetDir@/foo.exe"); }
  • Cannot add file to filter in Visual Studio 2015, Qt Visual Sudio Tools

    Solved
    8
    0 Votes
    8 Posts
    5k Views
    L
    @Eddy said in Cannot add file to filter in Visual Studio 2015, Qt Visual Sudio Tools: Hi enghell and welcome to the Qt forum, I've good news for you. On my windows 8.1 system with Qt 5.9 I can make a Gui application in VS community 2015 using Qt Visual Studio Tools 2.1.1. Now we need to see what is different in your case. If I understand you correctly you start a new project in VS community like this? : Select New Project > Installed > Templates > Visual C++ > Qt > Qt GUI Application. The reason I ask there is a bug when starting from Qt Creator and using the pro file in VS community 2015 : QTBUG-60059 How you resolve this question in VS2015? thanks.
  • installer scripting Settings operation

    ifw settings remove registry component
    3
    0 Votes
    3 Posts
    5k Views
    U
    @GoranShekerov Tried the above code to stop and remove the windows service while uninstalling from QT installer. But did not work function Controller() { installer.uninstallationStarted.connect(onUninstallationStarted); } onUninstallationStarted = function() { if (installer.isUninstaller()) { installer.performOperation("Execute", "@TargetDir@/platform/tools/Server/testServer.exe", "stop"); console.log("Server stopped") installer.performOperation("Execute", "@TargetDir@/platform/tools/Server/testServer.exe", "remove"); console.log("Server removed") } }
  • Some general questions for qt belonging cross-compiling

    Solved
    2
    0 Votes
    2 Posts
    472 Views
    K
    @Hi_Be said in Some general questions for qt belonging cross-compiling: I had Qt installed on a Linux Debian Pc (Host) If would create programms for running on the host and programms running on a device, could I use therefor the same Qt installation on the host or do i need a special installation for each device? In general you need a separate toolchain and Qt compilation for each device. For each device you have to do a cross-compilation of Qt libs and lateron also for your applications. For the Host and for each device i need a seperate qmake. How could i get this file? The separate qmake comes with the cross-compiled Qt libs. Even if there are only minor changes for qmake itself,it is beneficial to have a separate qmake, since it is also the key entry for toolchain specific settings. For each device I need a cross-compiler for running on the host, but creating code for the device. How did i got the necessary compiler etc could i create the compiler self? For most devices you can download cross-compilers already. Google shall help here. Also the support-sites for your embedded board lead you to appropriate cross-compilers. Typically cross-compilers for linux on host and embedded platforms are easiest to find and easier to use. Basically you should be able to generate also the cross-compiler every time when you use special tools. One way to seem to be the use of autotools. At least that I was told for one project I was involved. However, I would prefer pre-built cross-compilers when available. [edit] there are already Qt libs pre-built for different devices. However, they are not officially built and may have settings you do not want. If they work for you, this might be also an alternative.
  • Error on ./configure script in qt-everywhere-opensource-src-5.9.6

    Solved
    25
    0 Votes
    25 Posts
    5k Views
    H
    Thank you very much. This answer is very helpfully for me.
  • QPSQL Plugin on Unix and macOS Documentation

    Unsolved
    2
    0 Votes
    2 Posts
    530 Views
    SGaistS
    Hi, What exact trouble did you had ? Where are these includes located ? How did you install the dependencies ?