跳到內容

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 主題 51.1k 貼文
  • Question about depolying while using qml modules

    Unsolved
    1
    0 評價
    1 貼文
    265 瀏覽
    尚無回覆
  • Mac installation on external hd

    Unsolved
    4
    0 評價
    4 貼文
    531 瀏覽
    SGaistS
    Based on the name, do you have any non-ASCII char in the path ?
  • Qt 5.11.3 Cross Compile RPI3 MAC OSX - crt1.o

    Unsolved
    4
    0 評價
    4 貼文
    1k 瀏覽
    R
    @bcam Try to see my scripts https://github.com/r3d9u11/env-maker/tree/master/Qt/Qt5-imx6, I think that it can be used for RPi (just change gcc-8 to linaro compiler)
  • Unable to find msvc 2015 32 bit when installing 5.12

    Solved
    5
    0 評價
    5 貼文
    3k 瀏覽
    Maaz MominM
    @JKSH Building my plugin with MSVC 2017 32-bit worked. Thank you.
  • No Vulkan support in macOS Qt 5.12.0 dmg file?

    Unsolved
    4
    0 評價
    4 貼文
    1k 瀏覽
    SGaistS
    It's likely related to QTQAINFRA-1187. There's currently no mention of the macOS platform. You should comment there to get some more information. In between, one thing you can try, is to build only the QPA plugin from sources.
  • Application bundles created with macdeployqt do not run

    Unsolved
    5
    0 評價
    5 貼文
    726 瀏覽
    A
    @SGaist Tried it with the declarative-camera example, same result.
  • Trying to get started with WASM preview

    Unsolved
    1
    0 評價
    1 貼文
    255 瀏覽
    尚無回覆
  • How to implement two separate widgets

    Unsolved
    6
    0 評價
    6 貼文
    837 瀏覽
    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 評價
    3 貼文
    1k 瀏覽
    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 評價
    17 貼文
    17k 瀏覽
    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 評價
    4 貼文
    708 瀏覽
    jsulmJ
    @Sebastien_Pau Try http://www.dependencywalker.com/
  • Qt cross-compilation can't detect PKG_CONFIG libs

    Solved
    2
    0 評價
    2 貼文
    2k 瀏覽
    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 評價
    5 貼文
    2k 瀏覽
    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

    已鎖定 Solved
    31
    0 評價
    31 貼文
    9k 瀏覽
    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 評價
    27 貼文
    18k 瀏覽
    MucipM
    Hi @huseyinkozan Yes. It works like a charm. Regards, Mucip:)
  • Fresh installed Qt has Kit problems

    Solved
    15
    0 評價
    15 貼文
    2k 瀏覽
    M
    solved :) thx for helping
  • Qt5 for imx6

    Solved
    14
    0 評價
    14 貼文
    3k 瀏覽
    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 評價
    5 貼文
    2k 瀏覽
    SGaistS
    Did you do a cleanup before calling configure again ?
  • Plugins on MacOS??

    Solved
    4
    0 評價
    4 貼文
    1k 瀏覽
    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 評價
    1 貼文
    544 瀏覽
    尚無回覆