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
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • Qt 6.2.4 build fails on MSVC 2022 x64

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    A
    Updating SDK helped: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/
  • Create a runable app for armv8

    Unsolved
    4
    0 Votes
    4 Posts
    452 Views
    SGaistS
    Qt 5 is still more widely used at this time so you will find more information for it. Qt 4 has reached end of life a long time ago, so don't start with it. If memory serves well, the banana pi is close to the Raspberry Pi so this guide might be of interest. Note that is have not tested it.
  • Package app as .AppImage after building with Qt Creator

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    JKSHJ
    @bee65 said in Package app as .AppImage after building with Qt Creator: Instead of trying to work out what libraries are needed, I thought I would try just shipping the whole darn lot. I took a copy of the Qt/6.2.3/gcc_64 folder, deleted a bunch of stuff that is not runtime-related, did the chrpath thing, and it seems to work fine. Great thinking, and congrats on your progress! In essence, you have done the Linux version of the "Quick and dirty" deployment described at https://wiki.qt.io/Deploy_an_Application_on_Windows Hopefully this diagram provides a bit of clarity to the deployment process: [image: Qt_Deployment_Structure_Windows.png]
  • Build Issue when migrating from 5.11.2 to 5.15.8

    Unsolved
    4
    0 Votes
    4 Posts
    433 Views
    Christian EhrlicherC
    @yuva said in Build Issue when migrating from 5.11.2 to 5.15.8: I don't own the Style.cpp, assuming it is within Qt that is handled. You should know what you're compiling - when you compile Qt then it's a Qt source - when you compile your code then it's your fault Now I have to migrate to Qt 5.15.8 Since this is a commercial version you should ask the Qt support.
  • QtCharts module not found even after installing in Qt Maintenance

    Solved
    19
    1 Votes
    19 Posts
    7k Views
    B
    @deadundead thank you :)
  • 0 Votes
    1 Posts
    345 Views
    No one has replied
  • Compilation parameters of Qt 5.15.3 generation

    Solved
    3
    0 Votes
    3 Posts
    339 Views
    F
    Perfecto ! Thanks JKSH!
  • Unable to install

    Unsolved
    5
    0 Votes
    5 Posts
    886 Views
    JKSHJ
    @VS365 said in Unable to install: I have re-registered another 2 accounts, but I faced the same problem. (As your company has agreed to the terms and conditions of our commercial Software License Agreement (SLA), we want to ensure you are fully aware licensed developers may not mix or combine Qt Open Source with commercially licensed Qt.... I'm guessing that you can't use your company's email address or your company's Internet connection to download open-source Qt. But I'm not 100% sure; as the message suggests, contact Qt Customer Success for confirmation.
  • 0 Votes
    5 Posts
    882 Views
    C
    Sadly, No luck. I'm getting: [image: c594eac5-f9fb-42db-8dd2-0a89387898bc.png] Maybe there are other factors that I didn't consider. Though it's better than how it was before, because before it didn't even show this message. It just crushed. EDIT: When I copied the complier and Qt version from the computer where it works, It successfully complied and runs. So the issue defiantly stems from incorrect versions of either the complier or qt. But the Qt version is 4.7.4 which is what I currently have, so I guess the problem is the complier. Is it possible to know what complier version I'm using just from the exe?
  • No valid kits found.

    Unsolved
    2
    0 Votes
    2 Posts
    241 Views
    SGaistS
    Hi and welcome to devnet, Are you sure you got the Qt online installer and not the Qt Creator specific one ? If the former, did you select at least one version of Qt ? If the later, then go grab the correct installer.
  • Qt installer closes when download.

    Unsolved
    2
    0 Votes
    2 Posts
    371 Views
    JKSHJ
    Hi, and welcome! @NightGame said in Qt installer closes when download.: when loaded the program just closes. Tried how online and offline. For testing, Create a new Windows account and run the installer there. Does it work? If not, try it on a different PC. Does it work?
  • Kubuntu 20.04 - Install Qt Creator - offline installer

    Unsolved
    2
    0 Votes
    2 Posts
    599 Views
    jsulmJ
    @stretchthebits You can find older Qt offline installer here: https://download.qt.io/archive/qt/5.9/5.9.9/ https://download.qt.io/archive/qt/5.9/5.9.5/ "Why don’t they put all installers on the same page?" - I guess because most people download newer versions and QtCompany wants to keep the page less cluttered.
  • libOpenGL.so.0

    Unsolved
    2
    0 Votes
    2 Posts
    374 Views
    SGaistS
    Hi and welcome to devnet, Which Linux distribution are you using ? Which version of the OpenGL library do you have installed ?
  • Wrong link paths at cross-compiling Qt 5.15.2

    Unsolved cross-compile qt5.15.2 qt sources
    2
    0 Votes
    2 Posts
    922 Views
    SGaistS
    Hi, You can set the LD_LIBRARY_PATH environment variable before starting your application. Otherwise, if memory serves well, you need to configure the rpath when building your application. See QMAKE_RPATHDIR.
  • gamepad not known in QT

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    jsulmJ
    @DanAm As @Christian-Ehrlicher wrote: QtGamepad was added in Qt 5.7, just see the link he posted! You will need to use Qt >= 5.7
  • qt.qpa.plugin: Could not load the Qt platform plugin "xcb"

    Unsolved
    15
    1 Votes
    15 Posts
    7k Views
    B
    Was someone successful in fixing it? worst case scenario, should we disintall and reinstall what application? qt ? cv2? python?
  • 0 Votes
    33 Posts
    8k Views
    I
    @Christian-Ehrlicher QtToolchainHelpers.cmake toolchain_path="$script_dir_path/../lib/cmake/Qt6/qt.toolchain.cmake" screenshot
  • Issues loading OpenSSL on Deploy

    Unsolved openssl qt6.2 deployment windows10 msvc2019
    3
    0 Votes
    3 Posts
    3k Views
    M
    Copy qopensslbackend.dll in a tls folder next to your .exe, and DLL in your PATH : ./myexec.exe ./libcrypto-1_1-x64.dll ./libssl-1_1-x64.dll ./tls/qopensslbackend.dll
  • System library mismatch after Ubuntu dist upgrade

    Unsolved
    10
    0 Votes
    10 Posts
    1k Views
    JKSHJ
    @Mark81 said in System library mismatch after Ubuntu dist upgrade: I think this is a common scenario for every deployment... the architecture is the same, the distro is the same, it's just an upgrade behind... Building on an older version and deploying to a newer version usually works fine. Building on a newer version and deploying to an older version can often fail. The rule of thumb is: Build using the oldest OS that you want your app to support. cannot ask my customer to have the exactly same version of my dev machine! Agreed. You just need your dev machine to be the same as, or older than, your customer's machine.