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.1k Posts
  • QtWebEngine app cannot be started in Docker with Windows Servercore base image.

    Unsolved
    3
    0 Votes
    3 Posts
    366 Views
    M
    Okay, I have now built a minimal QtWebengineCore and QtCore app. This also does not run, and I receive no feedback when I call it from the console. However, the environment is suitable for a large QtGui app.
  • Unable to cross compile Qt5.15.13 for Armv7

    Unsolved
    7
    0 Votes
    7 Posts
    671 Views
    V
    I have copied the sysroots directory into my system where Qt compilation environment is set up. Below is the only file available in the sysroots directory. tisdk/build/arago-tmp-default-glibc/sysroots/am335x-evm/imgdata/tisdk-default-image.env Note: I am using a am335x-evm custom board. Please suggest how to include the sysroots directory into the compilation process through command line arguments. Also, let me know what the contents of the sysroots directory should look like.
  • Error: qt.qpa.xcb: could not connect to display

    Unsolved docker containe qt.qpa.plugin
    6
    0 Votes
    6 Posts
    14k Views
    M
    This solves any display related issues from within docker containers docker run -it --name $CONTAINER_NAME --network host -e DISPLAY -e TERM -e QT_X11_NO_MITSHM=1 $IMAGE_NAME bash
  • build qt6 on arm64 debian10 or Ubuntu 18

    Unsolved
    11
    0 Votes
    11 Posts
    2k Views
    _
    @Christian-Ehrlicher: With Ubuntu's cross compiler "arm-linux-gnueabi-..." a build was possible, not yet tested on target. Thanks!
  • Is _GLIBCXX_USE_CXX11_ABI=0 defined in pre-build versions of Qt?

    Solved
    6
    0 Votes
    6 Posts
    4k Views
    J
    Came across the same issue today with Qt 6.7.2 on macOS Ventura when building my app with GCC 14.2.0 (in C++23 mode). That is, because Qt was built with Apple Clang (14.0.0) which does not set _GLIBCXX_USE_CXX11_ABI=1. Inline methods (like QString::toStdString, QVector::toStdVector, etc...) are fine because they are compiled with the same C++ ABI as used in the application. That does no longer seems to be the case, because QByteArray::toStdString() is not defined in its header. Just for reference, I get the following linker errors: Undefined symbols for architecture x86_64: "QByteArray::toStdString[abi:cxx11]() const", referenced from: QString::toStdString[abi:cxx11]() const in main.cpp.o ld: symbol(s) not found for architecture x86_64
  • 0 Votes
    3 Posts
    448 Views
    SGaistS
    Hi, In addition to what @Axel-Spoerl wrote: are you using the Windows Subsystem for Linux ? Since you mention KStars, they have a Windows build so why not use that one directly ?
  • Finding a Kit for Basic Tutorial

    Unsolved kit setup tutorial windows 11 compiler setup
    8
    0 Votes
    8 Posts
    1k Views
    jsulmJ
    @mdebellis said in Finding a Kit for Basic Tutorial: I want to use QT with Python. In that case you should use PyQt (https://wiki.python.org/moin/PyQt) or PySide (https://wiki.qt.io/Qt_for_Python). The online installer you used is for C++ development.
  • qDebug() not working.

    Unsolved
    11
    0 Votes
    11 Posts
    2k Views
    JonBJ
    @davidwedel So it looks like maybe someone was playing with Qt and switched default debugging off and that's how it got released with this file in it, even if no Qt! :) Naughty Fedora people!
  • Cpack deployment error: file RPATH_SET that does not exist

    Unsolved
    2
    1 Votes
    2 Posts
    261 Views
    G
    What did you set to change the output directory of your libs? I'm having the same issue, can't change the output directory of the qt_generate_deploy_app_script. When I tried by setting CMAKE_INSTALL_LIBDIR, I get RPATH errors and can't make the package successfully.
  • Jetson Nano. QtWebView error.

    Unsolved
    2
    0 Votes
    2 Posts
    220 Views
    D
    is it there any incompatibility between Jetson Nano Hardware/Sofware and qtWebView? (aarch64+Ubuntu 18.04) Thanks for your answers.
  • Static Qt Error: Qt version is not properly installed, please run make install

    Unsolved
    2
    0 Votes
    2 Posts
    210 Views
    jsulmJ
    @Scarab said in Static Qt Error: Qt version is not properly installed, please run make install: "pass the relocatable flag to configure". I don't know how to do that either, there is no configure field in the Qt versions tab "configure" is the command you execute before you build Qt. You need to pass relocatable flag to configure before you actually build Qt.
  • server replied: Forbidden error

    Unsolved
    2
    0 Votes
    2 Posts
    251 Views
    JonBJ
    I think you just have to keep trying different mirrors. Are you claiming every one of them returns Forbidden? That would be different.
  • Failed to load EGL device integration "eglfs_kms_egldevice"

    Unsolved
    2
    0 Votes
    2 Posts
    320 Views
    SGaistS
    Hi and welcome to devnet, You should take a look at the content of the tests run by the configure script to see what exactly failed with regard to EGLFS. The NVIDIA forum might also contain some hints.
  • Module not found PyQt6

    Unsolved
    5
    0 Votes
    5 Posts
    3k Views
    SGaistS
    Then explicitly call the version of Python you want to use when executing your script. As for conda VS venv, it highly depends on your goal. You might also want to consider using something like uv that will help you manage your dependencies and environnement. Since you are starting fresh, I would recommend testing uv.
  • Cannot run qmake after static building Qt6.8

    Unsolved
    4
    0 Votes
    4 Posts
    370 Views
    SGaistS
    Hi, What does ~file qmake6 return ?
  • Fedora 40, update problem.

    Unsolved
    6
    0 Votes
    6 Posts
    719 Views
    D
    dnf -y update this morning. Skipped: qt5-qtbase-5.15.15-1.fc40.x86_64 qt5-qtwebengine-freeworld-5.15.17-1.fc40.x86_64
  • Failed to build Qt6.8 from source as static library, fails at qtimezonelocale.cpp

    Solved
    5
    0 Votes
    5 Posts
    950 Views
    J
    Disabling the precompile headers by using the option "-no-pch" resolved this issue.
  • Error "Import found outside of import paths" in generating apk

    Solved
    4
    0 Votes
    4 Posts
    415 Views
    FalsinSoftF
    Fortunately it seems that this bug has been fixed in Qt version 6.8.0
  • c1083: cannot open include file: 'stddef.h':No such file or directory

    Unsolved
    17
    2 Votes
    17 Posts
    49k Views
    R
    Just comment the line. It worked for me.
  • Within a Jupyter on NVIDIA AI Workbench

    Unsolved
    3
    0 Votes
    3 Posts
    336 Views
    D
    @jsulm SURE I will, thanks a lot...