跳到內容

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 貼文
  • ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.

    Unsolved
    4
    0 評價
    4 貼文
    768 瀏覽
    SGaistS
    Hi and welcome to devnet, I would try to get a more recent version of your cross-compiler. Gcc 4.8.3 is a bit outdated.
  • 0 評價
    4 貼文
    2k 瀏覽
    JonBJ
    @dgrz1985 I don't use Qt under Windows so I can't say what is/is not necessary. By the sound of it, the easiest would be to run it through Qt Creator setting the Run Environment to have that variable set, if you say it does not work from command line. Anyway, your output is somewhat curtailed, there are some references in there to why it cannot load the qwindows.dll. A "specified procedure cannot be found" might indicate some version mismatch between what you have and what is expected, I don't know. You might glean more information if you run a Dependency Viewer on qwindows.dll. That's all I know. You might be able to Google for why qwindows.dll is not working for you. Or they may be other people here using Windows who can answer.
  • can't see any QML Types

    Unsolved
    4
    0 評價
    4 貼文
    440 瀏覽
    Sunita MarshalS
    Just for testing, create a new QML ui file - not just QML file. Give it a name TestForm.ui.qml. I think the QML designer accepts only ui files while the QML files (main.qml in your case) are intended for text editing only.
  • Libqxcb.so not found.

    10
    0 評價
    10 貼文
    19k 瀏覽
    SGaistS
    Hi and welcome to devnet, Did you check that you have all required dependencies available ? Take a look at the configure test logs to exactly what failed.
  • Cannot change to working directory «...»: file or directory not found

    Unsolved
    6
    0 評價
    6 貼文
    1k 瀏覽
    A
    Created a bug report.
  • 0 評價
    14 貼文
    1k 瀏覽
    Pablo J. RoginaP
    @StrandedFox said in PHP script exec() on QT App - errors with Could not load the Qt platform plugin "xcb" in "" even though it was found.: I somehow need to get rid of the app from starting its GUI modules...? At some extent, you may want to have the same only Qt app running as GUI or console given a CLI argument at startup, see this article. However, that approach won't free you from changing your current Qt app to decouple some GUI parts from the PNG generation parts.
  • docker build failed: Cannot open include file: 'type_traits': No such file or directory

    Unsolved
    7
    0 評價
    7 貼文
    9k 瀏覽
    T
    i had the same problem in visual studio 2019 community with Qt 6.0.0 after, searching every forum etc.. and trying the install of visual studio 2015 build tools x64 and visual studio redistrubutable 2015 x64 which didn't solve the problem too i tried updating windows sdk version from 10.0.18362.0 to 10.0.19041.0 which i though i should not at first cause it may work with the 6.0.1 qt version and 6.0.0 and then problem was SOLVED. i'm currently using visual studio community 4.8.03761 if that might help others so just check that you have window sdk version 10 updated ( EVEN IF YOU THINK YOU DONT EVEN NEED IT) and that your compiler is well chosen. ( i had mvsc2019_64 and work with LLVM etc.. version in build settings) hopefully this helps you guys.
  • [Qt Installer Framework] Run .exe/.run file in a blocking child process

    已移動 Unsolved
    2
    0 評價
    2 貼文
    318 瀏覽
    A
    @akhi95 I figured out QProcess::execute() might be helpful. But since it's a CPP function, not sure how to use it in my component script (JS).
  • ModuleNotFoundError: No module named 'sipdistutils'

    Unsolved
    2
    0 評價
    2 貼文
    547 瀏覽
    SGaistS
    Hi and welcome to devnet, This Stack Overflow thread might be a good start. Hope it helps
  • Can't build Qt 6.0.0 due to MAX_PATH with shallow directory depth

    Solved qt6 build qt configure tool configure path limit
    4
    0 評價
    4 貼文
    2k 瀏覽
    oblivioncthO
    @oblivioncth I can confirm that this was fixed in 6.0.1
  • Cannot build qt on linux with libc++ stdlib. fatal error: 'type_traits' file not found

    Unsolved
    1
    0 評價
    1 貼文
    1k 瀏覽
    尚無回覆
  • 0 評價
    3 貼文
    2k 瀏覽
    S
    Thank you very much for that suggestion. It looks like resolving the problem truly was as easy as uninstalling Qt completely and then reinstalling it again. During the installation process, I selected the default option instead of custom installation and everything went fine. Additionally, the problem with Kits was also resolved.
  • Crosscompiling Qt5.15.2 makes error due to undeclared ‘getentropy’

    Solved
    3
    0 評價
    3 貼文
    502 瀏覽
    HupeH
    Because it's the toolchain in the board SDK, I have compiled Qt5.12.2 successfully with gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu.Thanks. Besides, it still makes another error if I use gcc-linaro-7.5.0 to compile Qt5.15.2 . I will check it later.
  • Another long shot question - multiboot with SAME user

    Unsolved
    7
    0 評價
    7 貼文
    557 瀏覽
    mrjjM
    @AnneRanch Hi If you do try CloneZilla, please promise me to triple check what is the source and what is the destination as it will copy the empty disk to the full one, make one cry in the keyboard.
  • How to configure "git" - Linux ?

    Solved
    6
    0 評價
    6 貼文
    1k 瀏覽
    Christian EhrlicherC
    @AnneRanch said in How to configure "git" - Linux ?: WHY IDE cannot intelligently point out to the user that "git" is missing ? Feel free to provide a patch for it...
  • Newbie question: Warning Device type is not supported by Qt version

    Solved
    22
    0 評價
    22 貼文
    5k 瀏覽
    Pablo J. RoginaP
    @Doug-Hutcheson said in Newbie question: Warning Device type is not supported by Qt version: success! if your issue is solved, please don't forget to mark your post as such!
  • Mint Linux open source install

    Solved
    31
    0 評價
    31 貼文
    8k 瀏覽
    O
    @JKSH I will wait until the issues with the installer are resolved.
  • 2 評價
    2 貼文
    666 瀏覽
    A
    Works now. Closing.
  • when I cross_compile Qt5.15.2 with Raspberry pi4 , build qtwebengine occur the errror:

    Unsolved
    1
    0 評價
    1 貼文
    283 瀏覽
    尚無回覆
  • QtDeclarative -> how to add config opts for external submodules before buidling

    Unsolved
    3
    0 評價
    3 貼文
    628 瀏覽
    SupervisedThinkingS
    Build log: https://pastebin.com/2y6AhZ8N All in all it probably comes down to Qt awful buildsystem which pulls in wrong header files . It builds the complete qt5 package fine but fails to build qtdeclarative separately with exakt the same build options for qtbase and with the same qmake & mkspecs config. I guess cross compiling Qt5 boils down to never touch a running system or you end up with a trainwreck and clusterf$%&