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.5k Topics 49.8k Posts
  • 18 Votes
    1 Posts
    20k Views
    No one has replied
  • qDebug() not working.

    Unsolved
    6
    0 Votes
    6 Posts
    86 Views
    D

    Aha! Thanks @jeremy_k
    The final answer was qt.*.debug=false. I now see the qDebug() warnings, but not all the annoyinbg QT logs.
    So my qtlogging.ini looks like

    qt.*=false *.debug=true qt.*.debug=false qt.qpa.xcb.xcberror.warning=false

    Thanks again, both of you!

  • 0 Votes
    2 Posts
    21 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
    29 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
    39 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
    112 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
    81 Views
    SGaistS

    Hi,

    What does ~file qmake6 return ?

  • Fedora 40, update problem.

    Unsolved
    6
    0 Votes
    6 Posts
    156 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

  • 0 Votes
    2 Posts
    5k Views
    S

    When configure Qt, did you add the following arguments?
    It seems that the package won't be built unless you explicitly use them.
    -eglfs -qpa wayland-egl -qpa xcb

  • 0 Votes
    5 Posts
    95 Views
    J

    Disabling the precompile headers by using the option "-no-pch" resolved this issue.

  • 0 Votes
    4 Posts
    75 Views
    FalsinSoftF

    Fortunately it seems that this bug has been fixed in Qt version 6.8.0

  • 2 Votes
    17 Posts
    43k Views
    R

    Just comment the line. It worked for me.

  • Within a Jupyter on NVIDIA AI Workbench

    Unsolved
    3
    0 Votes
    3 Posts
    92 Views
    D

    @jsulm SURE I will, thanks a lot...

  • 1 Votes
    12 Posts
    1k Views
    R

    Just comment the line, it worked for me (cstddef file).

  • QApplication: No such file or directory

    Solved
    6
    1 Votes
    6 Posts
    4k Views
    A

    I have the same issue but now with Qt6.

    OS: Ubuntu 24.0.1 Qt: Creator 6.7.3 Compiler: gcc/g++ 13.2 IDE: MS Visual Studio Code (from snap) Extensions installed in MVSC: ms-vscode.cpptools, twxs.cmake, ms-vscode.cmake-tools, theqtcompany.qt, theqtcompany.qt-cpp-pack and tonka3000.qtvsctools Qt's installation folder: home/Qt/ Qt example's folder: home/Qt/Examples/Qt-6.7.3/widgets/widgets/calculator/

    I'm trying to run this example using CMakeLists.txt and c_cpp_properties.json.
    c_cpp_properties.json in .vscode:

    { "configurations": [ { "name": "Linux", "includePath": [ "${workspaceFolder}/**", "/home/arantxa/Qt/6.7.3/gcc_64/include/**", "/home/arantxa/Qt/6.7.3/gcc_64/include/QtWidgets/" ], "defines": [], "compilerPath": "/usr/bin/gcc", "cStandard": "c17", "cppStandard": "gnu++17", "intelliSenseMode": "linux-gcc-x64" } ], "version": 4 }

    The top-level CMakeLists.txt:

    # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause cmake_minimum_required(VERSION 3.16) project(calculator LANGUAGES CXX) find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) qt_standard_project_setup() qt_add_executable(calculator button.cpp button.h calculator.cpp calculator.h main.cpp ) set_target_properties(calculator PROPERTIES WIN32_EXECUTABLE TRUE MACOSX_BUNDLE TRUE ) target_link_libraries(calculator PRIVATE Qt6::Core Qt6::Gui Qt6::Widgets ) install(TARGETS calculator BUNDLE DESTINATION . RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ) qt_generate_deploy_app_script( TARGET calculator OUTPUT_SCRIPT deploy_script NO_UNSUPPORTED_PLATFORM_ERROR ) install(SCRIPT ${deploy_script})

    Everything that is required, every include, is listed! I'm not sure what should I do.

  • 0 Votes
    4 Posts
    89 Views
    A

    I was able to resolve replacing "/snap/bin/cmake" for:
    cmake.cmakePath = /snap/cmake/current/bin/cmake

  • License acquisition delayed, all execution license in use

    Unsolved
    2
    0 Votes
    2 Posts
    45 Views
    Christian EhrlicherC

    This is a user-driven forum. For license problems you should contact TQtC directly through your support channel.

  • The required XCB cursor platform library was not found!

    Unsolved
    4
    0 Votes
    4 Posts
    105 Views
    M

    Hmm I think the problem was that I didn't run the binary with sudo.

  • cross compiling Qt for a 32-bit architecture.

    Unsolved
    1
    0 Votes
    1 Posts
    43 Views
    No one has replied
  • QT Compilation

    Unsolved
    2
    0 Votes
    2 Posts
    56 Views
    Christian EhrlicherC

    @A-Akshatha said in QT Compilation:

    Can we make it compatible with 2017

    If you mean 'we' with you - maybe. I doubt you will find other people using this old version with this old compiler.