跳到內容

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 貼文
  • 0 評價
    1 貼文
    878 瀏覽
    尚無回覆
  • Custom project building. How?

    Unsolved
    8
    0 評價
    8 貼文
    1k 瀏覽
    SGaistS
    Hi, What about using $$PWD ?
  • Error while installing Qt 5.12.0 version for Webassembly for linux Fedora as Virtual Machine.

    Unsolved
    2
    0 評價
    2 貼文
    881 瀏覽
    P
    I had the same problem and just found what the problem was. The attribute "BINARYEN_METHOD" does not exist anymore in Emscripten toolchain. It has been removed from <path_to_installed_emsdk_dir>/emscripten/<version>/src/settings.js It is unfortunately still used as a flag of EMCC_COMMON_LFLAGS in <path_to_Qt_Src_dir>/qtbase/mkspecs/wasm-emscripten/qmake.conf Just remove it (ie. the attribute), and the problem is solved. EDIT: In the ChangeLog of Emscripten v1.38.23 stated as follows. Remove BINARYEN_METHOD: no more support for interpret modes, and if you want non-wasm, use WASM=0.
  • Could not create release directory

    Solved
    7
    0 評價
    7 貼文
    1k 瀏覽
    T
    @JKSH said in Could not create release directory: @t3rb3d said in Could not create release directory: The kit Desktop Qt 5.12.1 GCC 64bit has configuration issues which might be the root cause for this problem. Qt 5.12.1 is not yet released. What happens if you use a kit from the official installer? I have installed the 5.12.0 Qt version and now it works! Thank you for your help!
  • Qt automotive suites examples

    Unsolved
    5
    0 評價
    5 貼文
    676 瀏覽
    aha_1980A
    @WindJunkie Qt Automotive Suite packages are as much open source as the rest of Qt Probably. But http://doc.qt.io/QtAutomotiveSuite states: Qt Automotive Suite is a collection of software components [...] Built on top of the Qt for Device Creation which in turn is commercial: https://doc.qt.io/QtForDeviceCreation/index.html Qt for Device Creation is a commercial offering Regards
  • Cross-Compiling Qt 5.12 for Raspberry Pi Fails

    Unsolved
    5
    0 評價
    5 貼文
    2k 瀏覽
    JBonillaJ
    Is this last issue related to EGL libraries? I renamed how they are referenced in ./qtbase/mkspecs/devices/linux-rasp-pi3-g++/qmake.conf, maybe this help. Have a look at the steps I followed to cross compile Qt 5.12, particulary section “6. Configure Qt for cross compilation“ from https://mechatronicsblog.com/cross-compile-and-deploy-qt-5-12-for-raspberry-pi/
  • Can't install Qt on Windows10

    Solved
    8
    0 評價
    8 貼文
    2k 瀏覽
    B
    @hskoglund Oh my, what a sweet lemonade It worked, thanks!
  • Breakpoints with custom debug build

    Unsolved
    1
    0 評價
    1 貼文
    188 瀏覽
    尚無回覆
  • Updating Qt Creator is a mess

    Unsolved
    3
    0 評價
    3 貼文
    720 瀏覽
    D
    Hi, I got an other update problem, when I start QTCreator and don't select a project verry fast, thn it starts updating the documentation, and by doing so blocks again. the whole window becoms lighter in color. and it says "keine Rückmeldung" in german, so "no response" or similar. The progress bar is at 100% The only thing possible to do than is closing the window and start over. But it says "QT Creator not responding and offers to wait for a response or shut it down. So now after a restart I can check the version: Qt Creator 4.8.1 Based on Qt 5.12.0 (MSVC 2015, 32 bit) Erstellt am Jan 15 2019 22:17:12 Revision e8df914ef2
  • Emulator for Qt Automotive suite

    Unsolved
    2
    0 評價
    2 貼文
    288 瀏覽
    sierdzioS
    You should target this question at the Qt Company.
  • How to statically compile the Qt desktop application using QT 5.9.6 ?

    Unsolved
    9
    0 評價
    9 貼文
    1k 瀏覽
    hexeditorH
    I raised an issue in the Qt Bug Tracker, see QTBUG-72810: Static build package in Qt installer. You may want to vote up that issue.
  • Build errors in tutorial sample project

    Solved
    3
    0 評價
    3 貼文
    480 瀏覽
    Stan HuangS
    I modified project file as you said and it works then. Thanks.
  • Custom kit (self-compiled Qt 5.9) : features.h not found

    Solved
    5
    0 評價
    5 貼文
    2k 瀏覽
    M
    This was really dumb... Setting, as per : https://forum.qt.io/topic/95523/qt-creator-clang-code-model-doesn-t-find-types-even-though-code-compiles/8 , in Tools->Options->Kits : CMAKE_SYSROOT:STRING=/ in CMake Configuration, System root : / Solved it. BR, Maxime [image: 15313ee1-3de6-45ce-a80b-a27be0ff355d.png]
  • How can I compile iOS apps from Linux?

    Unsolved
    4
    1 評價
    4 貼文
    4k 瀏覽
    S
    see this link the guy used a way to cross compile on linux for ios using qmake it is possible i think
  • How to change LFLAGS of result Makefile ? (can't find libs with non-standard prefix)

    Solved
    11
    0 評價
    11 貼文
    3k 瀏覽
    R
    @SGaist I haven't any .pro file, I'm looking for way without any modifications of original ".qmake" file. Unfortunally there is no such way, as I think. Howewer, thanks for hint! Finally I did a workaround in my script: if [ ! -f "qtbase/mkspecs/devices/linux-imx6-g++/imx6-qmake.conf" ]; then mv "qtbase/mkspecs/devices/linux-imx6-g++/qmake.conf" "qtbase/mkspecs/devices/linux-imx6-g++/imx6-qmake.conf" echo "include(./imx6-qmake.conf)" > "qtbase/mkspecs/devices/linux-imx6-g++/qmake.conf" echo "QMAKE_RPATHDIR += $SDK_PATH_TARGET/lib/arm-linux-gnueabihf" >> "qtbase/mkspecs/devices/linux-imx6-g++/qmake.conf" echo "QMAKE_RPATHDIR += $SDK_PATH_TARGET/usr/lib/arm-linux-gnueabihf" >> "qtbase/mkspecs/devices/linux-imx6-g++/qmake.conf" fi or: if [ ! -f "qtbase/mkspecs/devices/linux-imx6-g++/imx6-qmake.conf" ]; then mv "qtbase/mkspecs/devices/linux-imx6-g++/qmake.conf" "qtbase/mkspecs/devices/linux-imx6-g++/imx6-qmake.conf" echo "include(./imx6-qmake.conf)" > "qtbase/mkspecs/devices/linux-imx6-g++/qmake.conf" echo "QMAKE_LFLAGS += -Wl,-rpath-link,$SDK_PATH_TARGET/lib/arm-linux-gnueabihf" >> "qtbase/mkspecs/devices/linux-imx6-g++/qmake.conf" echo "QMAKE_LFLAGS += -Wl,-rpath-link,$SDK_PATH_TARGET/usr/lib/arm-linux-gnueabihf" >> "qtbase/mkspecs/devices/linux-imx6-g++/qmake.conf" fi
  • "No valid kits found" in creating a project in Qt Creator

    Solved
    4
    0 評價
    4 貼文
    4k 瀏覽
    Stan HuangS
    @sierdzio It works. Thanks.
  • standalone Windows app using mingw

    Solved
    6
    0 評價
    6 貼文
    1k 瀏覽
    C
    as expected, the other system complained about winpcap being missing so I went to the site and downloaded the installer, installed it, set to load driver at boot, rebooted. The program does run. Not sure why but the other machine is only displaying a few packets compared to running the exe on the main system. Interesting to note that winpcap is now 'dead', and they want people to use npcap instead. I should probably convert over to that due to the win10 (yuk) support.
  • Installer framework - change maintenance tool window size

    Solved installer window size
    3
    0 評價
    3 貼文
    2k 瀏覽
    R
    @Tim.Jenssen Thanks Tim! Don't know how I missed that. Very much appreciated.
  • How to compile Qt5.4.1 with VS2017?

    Unsolved
    7
    0 評價
    7 貼文
    1k 瀏覽
    M
    @jsulm vs2017 support DXR
  • Installation program crashes at startup

    Unsolved
    5
    0 評價
    5 貼文
    2k 瀏覽
    F
    There doesn't seem to be anything wrong with the output of the ldd ./application_installer QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' Violación de segmento (`core' generado) root@karlhal# ldd application_installer linux-vdso.so.1 (0x00007fff541fe000) libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f10c025b000) libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f10c020c000) libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f10bff58000) libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f10bff13000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f10bfdd9000) libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f10bfdd4000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f10bfda9000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f10bfda3000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f10bfd99000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f10bfd78000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f10bfbee000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f10bfa61000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f10bfa45000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f10bf85b000) /lib64/ld-linux-x86-64.so.2 (0x00007f10c027c000) libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f10bf7d1000) libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0x00007f10bf59f000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f10bf382000) libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f10bf345000) libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f10bf33a000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f10bf136000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f10bef30000) liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f10bed0a000) liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f10bead3000) libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f10be7b5000) libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f10be59e000) and using gdb: root@karlhal# gdb application_installer GNU gdb (Ubuntu 8.2-0ubuntu1) 8.2 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Leyendo símbolos desde application_installer...(no se encontraron símbolos de depuración)hecho. (gdb) run Starting program: /home/karlhal/build-application/application_installer [Depuración de hilo usando libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' [Nuevo Thread 0x7ffff5883700 (LWP 13812)] Thread 1 "application_instal" received signal SIGSEGV, Segmentation fault. 0x00007ffff7642b95 in __GI___libc_malloc (bytes=44) at malloc.c:3017 3017 malloc.c: No existe el archivo o el directorio. (gdb)