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
    3 Posts
    365 Views
    N
    I see. Thank you for your help!
  • Silent installation of QT 4.6.2 on Windows 10

    Unsolved
    3
    0 Votes
    3 Posts
    622 Views
    I
    @sierdzio said in Silent installation of QT 4.6.2 on Windows 10: windeployqt Thank you for the fast and informative replay. This is a small project that we support and we are trying to change as little as possible. It totally slipped from my mind that for deployment machines, I just need the DLLs. Will definitely check that!
  • 0 Votes
    10 Posts
    3k Views
    O
    @jsulm Uhmm now I'm starting to understand why @sierdzio told me this is not easy. I will do some google search on this subject, thanks for guidance.
  • module "Qt.labs.platform" is not installed, macdeployqt not copy qt/labs/platform?

    Solved
    3
    0 Votes
    3 Posts
    3k Views
    C
    thanks. change: -qmldir=/Users/username/myproject/trytodolist/ It works fine.
  • Refreshing the build directory

    Unsolved
    13
    0 Votes
    13 Posts
    2k Views
    SGaistS
    Nice it is fixed however I still recommend moving to out of source builds. In any case, please mark the thread as solved so that other forum users may know a solution has been found.
  • How can I make the Qt Creator auto-update the ui header file ?

    Unsolved
    4
    0 Votes
    4 Posts
    736 Views
    MihanM
    @J-Hilk @jsulm Thanks But It seems that I must reload(or reopen) the cpp file so that it uses the new ui header file
  • Qt installer fails on Windows 7, exception Code: c0000005

    Solved
    10
    0 Votes
    10 Posts
    4k Views
    B
    I am sorry to open this old topic but I was facing same problem just now (Apr 14, 2020) on quite old computer with windows 7. I am using this version of the installer qt-unified-windows-x86-3.2.2-online.exe and "stuck" just before installation process to start. So I decided to try Primer solution about the "kernel32.dll.dll" file not found. I made a copy of the file "kernel32.dll" in folders windows\system32\ and windows\sysWOW64\ and rename the copied files like the missing one "kernel32.dll.dll" and the installer just continue with the installation. Thank you Primer for your research!
  • Newbie needs static compile assistance

    Unsolved
    2
    0 Votes
    2 Posts
    243 Views
    jsulmJ
    @actor39 said in Newbie needs static compile assistance: and I understand I need a second version of Qt, compiled for static development No you don't. Use windeployqt tool to create a package containing your application and all needed libraries: https://doc.qt.io/qt-5/windows-deployment.html Usually applications are deployed like this. Static builds are not that common.
  • Added DESTDIR

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    S
    @debian I had a similar problem recently and posting here since it's still unsolved and other people may need. I've found a variable called INSTALL_ROOT at least in recent Qt: using the command "make INSTALL_ROOT=<dir> install" made the job.
  • 0 Votes
    3 Posts
    359 Views
    Christian EhrlicherC
    Don't use Qt4 and MSVC2010 when you're start with Qt. Use a pre-build Qt available with the Qt installer and MSVC2019. I'm pretty sure Qt4/MSVC2010 will not work with 64bit at all.
  • qt examples doesnt start after deployment with windeployqt.exe

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    A
    @SGaist I dont even know how to thank you!!! You helped me a lot!!! Finally i have got my first project in Qt
  • Custom build step for mysql

    Unsolved
    4
    0 Votes
    4 Posts
    370 Views
    SGaistS
    Since you are using Boot2Qt, you should ask the Qt Company directly.
  • I get an error "Cannot Download Archive" during the installation.

    Unsolved
    2
    0 Votes
    2 Posts
    398 Views
    SGaistS
    Hi and welcome to devnet, You might be hitting a faulty mirror. Try using a different one.
  • QSerial Port

    Unsolved
    3
    0 Votes
    3 Posts
    509 Views
    aha_1980A
    @Mar_60 In your code, you open serialport, but you close serial. Might that be a problem? Otherwise provide more code. From the snippet, its not obvious. Regards
  • Maintenance Tool mandatory account and NO valid license

    Unsolved
    12
    0 Votes
    12 Posts
    8k Views
    thamT
    @porcupinebrux said in Maintenance Tool mandatory account and NO valid license: protesting loudly to the management of the Qt Company (like 5 years ago) will be the only way to revert this intrusive policy. This will only work if You are big customers, or a lot of customers do that This company is not going to backrupt. For me, looks like they are going to die soon enough, that is why they try desperately to collect the data of users in order to sell this company with higher prices. Check their report, you could see they did not earn a penny many years.
  • Error with MQTT Client GUI Written with Qt

    Unsolved
    6
    0 Votes
    6 Posts
    711 Views
    jsulmJ
    @Pablo-J-Rogina @Juancinho_cardecan Looks like that, but in this case his -L points to the source directory, unless he built that lib and put the libs inside that directory it can't work. My impressions is that he actually did not build the lib...
  • Passing target directory from QT Installer to the Application

    Solved
    8
    0 Votes
    8 Posts
    1k Views
    faiszalkhanF
    @SGaist Thanks.
  • Qtcreator build q5 from git

    Solved
    5
    0 Votes
    5 Posts
    873 Views
    PsnarfP
    @Psnarf said in Qtcreator build q5 from git: code.qt.io/qt/qt5.git Thanks! Thought I could use qtcreator to build q5. That wasn't a smart idea. I skipped to the "Getting the source code" section this time, since the last time I looked at that page, all I saw were the Linux distributions that I'm not running. This time I found the good stuff. Thanks again!
  • Cross-compiling Qt for ARM target not working - Need help

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    R
    Hi, The cross-compiler I used was the newest one from the 18.04 sources, I think 7.4. I have now downgraded to 4.9 but I still get the same error. I'm sorry if I'm missing something really simple here but I'm a total newbie when it comes to stuff like this. This is the version on my target: root@tolino:~# g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.9/lto-wrapper Target: arm-linux-gnueabihf Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10+deb8u2' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf Thread model: posix gcc version 4.9.2 (Debian 4.9.2-10+deb8u2) And this is the version of my cross compiler: vmuser@ubuntu:~/Desktop/qt_5.14.2$ arm-linux-gnueabihf-g++ -v Using built-in specs. COLLECT_GCC=arm-linux-gnueabihf-g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/arm-linux-gnueabihf/4.9/lto-wrapper Target: arm-linux-gnueabihf Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.9.3-13ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/arm-linux-gnueabihf/include/c++/4.9.3 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf-cross/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf-cross --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-armhf-cross --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libgcj --enable-objc-gc --enable-multiarch --enable-multilib --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-werror --enable-multilib --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=arm-linux-gnueabihf --program-prefix=arm-linux-gnueabihf- --includedir=/usr/arm-linux-gnueabihf/include Thread model: posix gcc version 4.9.3 (Ubuntu/Linaro 4.9.3-13ubuntu2)
  • qt5.14.1 raspberry pi 4 eglfs_kms failed

    Unsolved
    8
    0 Votes
    8 Posts
    3k Views
    G
    For days I been looking for the environment variable set to "C:\SysGCC\mingw32\msys64\usr\bin/pkg-config.exe", I think it is wrong and for this it cannot find any package. How can I correctly it to "C: /SysGCC/mingw32/msys64/usr/bin/pkg-config.exe"? Thanks.