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
  • QtIFW QtPatch.cpp

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    SGaistS
    Just thought of something: the usual way to prepare your application before packaging it is to follow the deployment procedure (usually using windeployqt) and then use that to create the installer. That way you ensure that your application is ready to run.
  • sqlcipher installation for qt using Ubuntu 14.04

    Solved
    8
    0 Votes
    8 Posts
    3k Views
    R
    @jsulm Hello jsulm, Hello pramod-jadhav , We follow the steps to install the sqlcipher for qt on Ubuntu 16.04LTS, http://gssivasankari.blogspot.in/2015/11/building-qt-sqlcipher-driver-plugin.html. -- In this link we don't know where to copy. ################################################### File 3: sqlcipher.json { "Keys": [ "QSQLCIPHER" ] } 2. Copy directory \Qt5.3.1\5.3\Src\qtbase\src\sql\drivers\sqlite to -----? (Where to copy) Customize file The content of the file shall be like: ####################################################
  • [Solved] Add an extern function to qguiapplication.cpp

    Solved
    1
    1 Votes
    1 Posts
    350 Views
    No one has replied
  • Newest package in the old version Qt

    Solved
    23
    0 Votes
    23 Posts
    7k Views
    M
    @SGaist It seems I solved this problem! windeployqt got me files in this form c:\PAZI100\audio c:\PAZI100\bearer c:\PAZI100\config.ini c:\PAZI100\D3Dcompiler_47.dll c:\PAZI100\hello_speak.exe c:\PAZI100\iconengines c:\PAZI100\imageformats c:\PAZI100\libEGL.dll c:\PAZI100\libgcc_s_dw2-1.dll c:\PAZI100\libGLESV2.dll c:\PAZI100\libstdc++-6.dll c:\PAZI100\libwinpthread-1.dll c:\PAZI100\mediaservice c:\PAZI100\opengl32sw.dll c:\PAZI100\Pazi100.exe c:\PAZI100\platforms c:\PAZI100\playlistformats c:\PAZI100\printsupport c:\PAZI100\Qt5Core.dll c:\PAZI100\Qt5Gui.dll c:\PAZI100\Qt5Multimedia.dll c:\PAZI100\Qt5Network.dll c:\PAZI100\Qt5PrintSupport.dll c:\PAZI100\Qt5SerialPort.dll c:\PAZI100\Qt5Svg.dll c:\PAZI100\Qt5TextToSpeech.dll c:\PAZI100\Qt5Widgets.dll c:\PAZI100\texttospeech c:\PAZI100\translations c:\PAZI100\audio\qtaudio_windows.dll c:\PAZI100\bearer\qgenericbearer.dll c:\PAZI100\bearer\qnativewifibearer.dll c:\PAZI100\iconengines\qsvgicon.dll c:\PAZI100\imageformats\qgif.dll c:\PAZI100\imageformats\qicns.dll ... c:\PAZI100\mediaservice\dsengine.dll c:\PAZI100\mediaservice\qtmedia_audioengine.dll c:\PAZI100\platforms\qwindows.dll c:\PAZI100\playlistformats\qtmultimedia_m3u.dll c:\PAZI100\printsupport\windowsprintersupport.dll >>> Wrong: c:\PAZI100\texttospeech\qtexttospeech_sapi.dll c:\PAZI100\translations\qt_bg.qm ... I added a folder and voices appeared. c:\PAZI100>dir /s /b c:\PAZI100\audio c:\PAZI100\bearer c:\PAZI100\config.ini c:\PAZI100\D3Dcompiler_47.dll c:\PAZI100\hello_speak.exe c:\PAZI100\iconengines c:\PAZI100\imageformats c:\PAZI100\libEGL.dll c:\PAZI100\libgcc_s_dw2-1.dll c:\PAZI100\libGLESV2.dll c:\PAZI100\libstdc++-6.dll c:\PAZI100\libwinpthread-1.dll c:\PAZI100\mediaservice c:\PAZI100\opengl32sw.dll c:\PAZI100\Pazi100.exe c:\PAZI100\platforms c:\PAZI100\playlistformats c:\PAZI100\plugins c:\PAZI100\Qt5Core.dll c:\PAZI100\Qt5Gui.dll c:\PAZI100\Qt5Multimedia.dll c:\PAZI100\Qt5Network.dll c:\PAZI100\Qt5PrintSupport.dll c:\PAZI100\Qt5SerialPort.dll c:\PAZI100\Qt5Svg.dll c:\PAZI100\Qt5TextToSpeech.dll c:\PAZI100\Qt5Widgets.dll c:\PAZI100\translations c:\PAZI100\audio\qtaudio_windows.dll c:\PAZI100\bearer\qgenericbearer.dll c:\PAZI100\bearer\qnativewifibearer.dll c:\PAZI100\iconengines\qsvgicon.dll c:\PAZI100\imageformats\qgif.dll ... c:\PAZI100\mediaservice\dsengine.dll c:\PAZI100\mediaservice\qtmedia_audioengine.dll c:\PAZI100\platforms\qwindows.dll c:\PAZI100\playlistformats\qtmultimedia_m3u.dll c:\PAZI100\plugins\printsupport c:\PAZI100\plugins\texttospeech c:\PAZI100\plugins\printsupport\windowsprintersupport.dll >>> Right: c:\PAZI100\plugins\texttospeech\qtexttospeech_sapi.dll c:\PAZI100\translations\qt_bg.qm ... After replacing the folders, the program hello_speak.exe still worked. It's strange that two programs behave differently. Thanks a lot for your help!
  • Qt license for older version like 4 ?

    Unsolved
    2
    0 Votes
    2 Posts
    441 Views
    sierdzioS
    Get in touch with Qt Company. They still offer paid support for Qt 4, as far as I've heard.
  • Link errors when building with qmake outside of Creator

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    CentralScrutinizerC
    Thanks for the helpful answers. It turned out to be my environment. For some reason I had an extra path in my PATH variable that pointed to another make (mingw64-make in my MSYS installation). I have no Idea why that affected my ability to build at the command line (esp. since I use full absolute paths for all of the commands used in the build) but removing it seemed to do the trick. I also don't understand why the mingw paths are needed on the PATH at all when using absolute paths. Or why it worked inside creator. Oh well I don't have time to investigate any further so i'll just have to be satisfied with it working now. Thanks again
  • I can not install Qt 5.10 on Debian 9.3 because of SSL problem?!

    Unsolved
    10
    0 Votes
    10 Posts
    3k Views
    MucipM
    .Hi, Yes. I remove openssl 1.1 and install openssl 1.0 as said. Now I started to install Qt 9.10... Thanks... Regards, Mucip:)
  • Install QT Online Installer Unified as Invoker? (Non-Admin)

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    SGaistS
    Once you can confirm you came to an arrangement with your school's IT people.
  • Qt 5.9.4 For ARM

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    A
    No problem, feel free to post back here if you get stuck on something. :) Oh and this may make things easier: https://github.com/probonopd/linuxdeployqt
  • Customizing maintenance tool

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    D
    @sierdzio Thanks.
  • Building my own Embedded Linux Image for Apalis-IMX6

    Unsolved
    2
    0 Votes
    2 Posts
    521 Views
    L
    You can try to rebuild icu-native: bitbake -c cleansstate icu-native && bitbake -c icu-native
  • Qt 5.9.2 build error (Mac)

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    C
    @SGaist said in Qt 5.9.2 build error (Mac): @ChristopherL said in Qt 5.9.2 build error (Mac): I'd love to be able to just 86 the whole locale/timezone code but it seems to break more stuff. What do you mean by that ? I mean that I can get Qt 5.8 to build just fine because it doesn't have that bug I mentioned that's stopping me from building 5.9. @ChristopherL said in Qt 5.9.2 build error (Mac): And by the way these OS and XCode upgrade requirements are really annoying. Tell that to Apple, they officially support the 3 last versions of their OS. If you need support for older versions, then you should consider the 5.6 series. Thanks. I'll take a look at 5.6 next..
  • QT Source code compile Error

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    JKSHJ
    @vivekyuvan said in QT Source code compile Error: mainwindow.cpp:972:25: error: ‘class QwtDial’ has no member named ‘setRange’ ... #include </usr/local/qwt-6.1.0/include/qwt_dial.h> QwtDial::setRange() was removed in Qwt 6.1. Your project needs Qwt 6.0. It is not compatible with Qwt 6.1
  • Qt source build with -qtlibinfix, and -framework

    Unsolved
    3
    0 Votes
    3 Posts
    939 Views
    J
    Thanks! It looks like the behaviour that I'm seeing is due to the bug that you've linked. I'll build without frameworks.
  • Could not initialize GLX

    Unsolved
    2
    0 Votes
    2 Posts
    6k Views
    sierdzioS
    Normally Qt requires OpenGL and a screen to work. So you're getting issues when you launch apps through the terminal because screen is missing. Try running your app like so: ./myApplication -platform minimal # OR ./myApplication -platform offscreen
  • qt design tab is disabled

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    J
    @aha_1980 said in qt design tab is disabled: a virtua I already solve this issue. What I did is I runMaintenanceTool from C:\Qt\MaintenanceTool.exe I only install one version of mingw . in my case mingw48_32 then also install msvc2010 and msvc2012_64. then it works.
  • Raspberry: Deploy application once cross build finished

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    A
    @sneubert It worls also the call in crontab so now after boot the application starts automatically! Good. Thanks
  • Qt Application crashes on startup

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    DenjasD
    I tried re-installing MSVC 2017 completely as SGaist said and it seems to have fixed the problem, now I can run applications in debug mode again :) Thanks for the help both of you!
  • Qt 5.9.2 cross-compiled: host errors

    Solved
    4
    0 Votes
    4 Posts
    4k Views
    W
    @AlTro Was there any resolution to your problem? I found a Qt-Bug that very likely seems to be related, but it was issued and already "resolved" in 5.9 and I'm cross-compiling with 5.10, so this specific bug should be solved. https://bugreports.qt.io/browse/QTBUG-62434 Any clue?
  • How to install qt in static link mode with qt-opensource-linux-x64-5.10.1.run

    Unsolved
    3
    0 Votes
    3 Posts
    813 Views
    E
    @JKSH thanks. There are always kinds of problems when compiling source code, so i tried the installer. I don't like that.