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.2k Posts
  • Application bundles created with macdeployqt do not run

    Unsolved
    5
    0 Votes
    5 Posts
    740 Views
    A
    @SGaist Tried it with the declarative-camera example, same result.
  • Trying to get started with WASM preview

    Unsolved
    1
    0 Votes
    1 Posts
    259 Views
    No one has replied
  • How to implement two separate widgets

    Unsolved
    6
    0 Votes
    6 Posts
    856 Views
    B
    I cannot copy from my work computer to my internet computer. If I can get Qt Designer working at home I will draw it up and paste in an image. That will be tonight's task at home, getting QT to run on my Windows box. I am using Centos Linux here at work. In the meantime: Imagine widget A with size 600 wide by 300 high. It has a set of radio buttons, push buttons, line edits, etc. When I set values in A it creates SIGNALS directed to SLOTS in B. A will need at least 10 controlling widgets. Example: A spin box or line edit in A can change the update rate of the strip chart, how fast it scrolls. Imagine widget B with the same size just below A. Each has a border and can be grabbed and moved with the mouse. B is where the strip chart graphics will be displayed, done in Open Gl. It has a pushbutton labeled "Hide A" that will cause widget A to be hidden. When pressed it changes its name to "Show A" which does the obvious. I am quite new at both Qt and OpenGL so maybe this question is more simple that it at first appears. Maybe not. I get to jump in on the deep end.
  • Solved: Qt 5.11+ fails to configure in Gentoo Prefix with Could not find qmake spec ''.

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    SGaistS
    Hi and welcome to devnet, Glad you found a solution and thanks for sharing it ! Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)
  • Qt Creator says "Project ERROR: Cannot run compiler 'cl'. Output:"

    Solved
    17
    0 Votes
    17 Posts
    18k Views
    aha_1980A
    @mvelanka wow - good observation! glad you got it running. So please mark this topic as SOLVED now. Thanks!
  • Looking for developer help who use QT 5.12 in static and VS2015 to produce static exe

    Unsolved
    4
    0 Votes
    4 Posts
    726 Views
    jsulmJ
    @Sebastien_Pau Try http://www.dependencywalker.com/
  • Qt cross-compilation can't detect PKG_CONFIG libs

    Solved
    2
    0 Votes
    2 Posts
    2k Views
    R
    @r3d9u11 Also pkg-config ouput: $ pkg-config --libs gstreamer-1.0 -L/mnt/data/LinuxHome/Software/QtBuilder/sysroot/lib -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 $ pkg-config --libs glib-2.0 -L/mnt/data/LinuxHome/Software/QtBuilder/sysroot/lib -lglib-2.0 $ pkg-config --libs zlib -L/mnt/data/LinuxHome/Software/QtBuilder/sysroot/lib -lz $ pkg-config --libs libpng -L/mnt/data/LinuxHome/Software/QtBuilder/sysroot/lib -lpng16 -lz $ pkg-config --libs libjpeg -L/mnt/data/LinuxHome/Software/QtBuilder/sysroot/lib -ljpeg $ pkg-config --libs fontconfig -L/mnt/data/LinuxHome/Software/QtBuilder/sysroot/lib -lfontconfig -lfreetype Note: /home/eugene/Desktop/QtBuilder/sysroot is a symlink to /mnt/data/LinuxHome/Software/QtBuilder/sysroot
  • Qt 5.12 static build for webassembly: cannot configure mysql database

    Solved qt 5.12 qt-wasm mysql
    5
    0 Votes
    5 Posts
    2k Views
    B
    @raven-worx Thanks a lot. Now, I got a perspective on how I can proceed further. I will try the solution with the QWebSocket and see how that goes. Cheers!
  • QT Creator cannot find <Qdialog> in Windows 10

    Locked Solved
    31
    0 Votes
    31 Posts
    12k Views
    JKSHJ
    OK, root cause found: https://forum.qt.io/topic/97455/qt-install-fourth-attempt Qt Creator needs to find your installation of MSVC 2017. Let's continue the discussion in the other thread. I'm locking this one to help focus on troubleshooting.
  • SSL handshake failed error during installation

    Unsolved ubuntu kde kubuntu
    27
    0 Votes
    27 Posts
    18k Views
    MucipM
    Hi @huseyinkozan Yes. It works like a charm. Regards, Mucip:)
  • Fresh installed Qt has Kit problems

    Solved
    15
    0 Votes
    15 Posts
    2k Views
    M
    solved :) thx for helping
  • Qt5 for imx6

    Solved
    14
    0 Votes
    14 Posts
    3k Views
    R
    @SGaist Well, I think no (if I understand your question right), because all paths to the compiler was setted right. Currently I'm trying to do a clean sysroot on my PC x86_64 (just a Qt+glib+gstreamer) with needed libraries (one question with pkg-config and Qt no resolved for me, yet) for the cross-compilation of target apps. As result I will produce a bash-script for a building an arm-sandbox to cross-compile from x86-64 machine to the ARM (specially imx6) and publish it here. Also thank you for your leading questions (because really currently available in the Ubuntu repos version of compiler is deprecated, I think)!
  • cannot find -lqtpcre2, how to skip it?

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    SGaistS
    Did you do a cleanup before calling configure again ?
  • Plugins on MacOS??

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    ModelTechM
    It took a while, but I have now solved this problem so let me share the solution that I found. I did a combination of the following three things to made it work: I needed a single cdUp() for the deployment situation as opposed to the 3x cdUp() which is necessary when running from Qt Creator (as it is explained here http://doc.qt.io/archives/qt-4.8/qt-tools-plugandpaint-example.html but on http://doc.qt.io/archives/qt-4.8/deployment-mac.html it says to use only 1x cdUp()) I was lead to believe that the argument for QDir::cd() would be case insensitive on MacOS based on the referred documentation. Instead, I now used 'PlugIns' instead of 'plugins' to use the standard directory in the app bundle to store my plugins in. I did so because using cd in a Terminal also required using 'PlugIns' instead of 'plugins'. On the other hand, when running from QtCreator, it should be 'plugins' as that is the subdirectory that QtCreator creates when building. So, here is a second difference between running from QtCreator and when deploying I not only applied install_name_tool to my executable to fix the library references but I also applied it to my plugin libraries. I made sure to use @executable_path references only to my libdfmcore and also to the Qt framework libraries (so, no @rpath references as generated by a build from QtCreator or by macdeployqt) If you wish to inspect my solution in more detail, you can have a look at https://modeltech.org/download/dfm/dfm.macos.zip
  • Error when building 5.12.0 on Centos 6.10

    Unsolved
    1
    0 Votes
    1 Posts
    548 Views
    No one has replied
  • Online Install Server reply: Not Found

    Unsolved
    2
    0 Votes
    2 Posts
    901 Views
    JKSHJ
    @Reghu_Att said in Online Install Server reply: Not Found: Now I am giving it another go for 5.12 and immediately it throws up this error: Cannot download archive http://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_5120_src_doc_examples/qt.qt5.5120.src/5.12.0-0-201812040411qtactiveqt-everywhere-src-5.12.0.7z: Error transferring http://103.1.138.144/download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_5120_src_doc_examples/qt.qt5.5120.src/5.12.0-0-201812040411qtactiveqt-everywhere-src-5.12.0.7z - server replied: Not Found Hmm... your computer is trying to load http://103.1.138.144/download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_5120_src_doc_examples/qt.qt5.5120.src/5.12.0-0-201812040411qtactiveqt-everywhere-src-5.12.0.7z 103.1.138.144 is an IP address controlled by MobileOne Singapore. What happens if you try downloading through a different Internet service provider?
  • How to use binarycreator to create an statically linked offline installer in Linux?

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    sierdzioS
    @caetydid said in How to use binarycreator to create an statically linked offline installer in Linux?: @sierdzio Since I plan to release all sources under LGPL and/or apache I understand it should not be a problem. Anyone will be able to install the app without using the binary installer, I just want to offer it to inexperienced users to ease installation. I think that is fine then.
  • cross-complie QT5.8 with multimedia

    Unsolved
    9
    0 Votes
    9 Posts
    2k Views
    Pablo J. RoginaP
    @Lann said in cross-complie QT5.8 with multimedia: i find no 'configure' file. It looks like you didn't look at step #16 as I suggested previously...
  • Upgrade QT3 to QT4

    Unsolved
    3
    0 Votes
    3 Posts
    788 Views
    jsulmJ
    @BKBK said in Upgrade QT3 to QT4: The latest attempt at make claims there is no matching function for call to Check the QDialog documentation from Qt4 to see what the correct QDialog constructor in Qt4 is.
  • Why qt config can't detect gstreamer sources?

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    R
    @SGaist Yes. Sorry, my bad. Now I build a full environment for the cross-compilation with needed libs. Thanks for help!