Skip to content

Qt Creator and other tools

Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
7.6k Topics 35.5k Posts
  • QT Creator remote cross debugging

    Unsolved
    2
    0 Votes
    2 Posts
    564 Views
    J
    Does anyone have an idea? I want to debug a binary which is started over a start script. Debugging the binary directly works. Also if i set the start script to not start the binary directly, but add "gdbserver :7777 /mypath/helloworld", I can connect to the debugger using the "Debug -> Start Debugging -> Connect To Remote" and fill out the details there. However, this disrupts my workflow and needs manual patching. Is it somehow possible to have a start script as alternate executable in the project settings AND being able to remote debug it?
  • SIGINT by Ctrl+C in Qt Creator

    Solved
    5
    1 Votes
    5 Posts
    1k Views
    D
    @SimonSchroeder @KH-219Design Thank you. Answers located here.
  • 0 Votes
    8 Posts
    1k Views
    SGaistS
    Why not use the example from the documentation to implement your tests since you want to use the QtTest module ?
  • Is there a way to make ActiveQt work on linux?

    Unsolved
    3
    0 Votes
    3 Posts
    340 Views
    SGaistS
    Hi and welcome to devnet, Are you looking for something like the new Qt/.NET module ?
  • Qt 5.9.5 setup after installation on Debian 11

    Solved
    2
    0 Votes
    2 Posts
    411 Views
    SGaistS
    Hi and welcome to devnet, From the looks of it, you did not install g++. To get your system ready for development, check this documentation page.
  • Design Studio to Creator == garbage?

    Unsolved
    1
    0 Votes
    1 Posts
    159 Views
    No one has replied
  • Qt 6.5 cmake rebuilds qml files

    Unsolved
    3
    0 Votes
    3 Posts
    540 Views
    joborJ
    That shouldn't happen. Consider creating a bug report. Or provide the information that's usually requested here. See https://wiki.qt.io/Qt_Build_System_Glossary#Reporting_build_system_issues for details.
  • QT. Building from source. -dynamic

    Unsolved
    2
    0 Votes
    2 Posts
    401 Views
    SGaistS
    @PolywickStudio hi, By default, the build is dynamic so you should not need that option. That said, it looks like either the documentation is wrong or the script. I would suggest that you check the bug report system to see if there's already something about it and if not, please open a new ticket.
  • How to add existing files to a CMake project?

    Moved Solved
    6
    1 Votes
    6 Posts
    5k Views
    cristian-adamC
    Qt Creator 11 will add the source files to the CMakeLists.txt. See below an example of a Widgets application: [image: qtcreator11-widgetsapp.gif]
  • Qt Designer, can't drag and drop widgets

    Unsolved
    4
    0 Votes
    4 Posts
    887 Views
    H
    I had the exact same problem on Fedora 38. I found a workaround that solves this problem for me. Just wrote a shell script wrapper around the qt program, like so: #!/usr/bin/env bash QT_QPA_PLATFORM=wayland ~/qtcreator-9.0.2/bin/qtcreator So setting the QT_QPA_PLATFORM environment variable to wayland does the trick!
  • qmake -project INCLUDEPATH recursion

    Solved
    5
    0 Votes
    5 Posts
    3k Views
    R
    @SGaist I had the same issue but 'qmake -project -recursive src' still didn't work, so I simply ran 'qmake -project' with the old qt4 qmake and this worked for me.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Problem with signals and slots when using libtorch library.

    Unsolved
    2
    0 Votes
    2 Posts
    331 Views
    jsulmJ
    @ZINE If you use no_keywords then you have to use macros instead of signals/slots "key"-words like explained here: https://doc.qt.io/qt-6/signalsandslots.html
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • 0 Votes
    15 Posts
    14k Views
    E
    i have the same problem ... if you have education license you can sign in to your qt account and download qt-license file and save it to home directory this worked for me.
  • Need help statically building qt for Ubuntu

    Unsolved
    17
    0 Votes
    17 Posts
    6k Views
    JaneerJ
    First, make sure you have all the necessary dependencies installed on your system. You can use the apt package manager to install them. Check the Qt documentation for the specific dependencies required for your version of Qt. Once you have the dependencies in place, download the source code for Qt and extract it to a directory of your choice. Then, open a terminal and navigate to the extracted directory. Next, you'll need to configure Qt with the appropriate options for static building. The configure script provides several flags to enable static building, such as -static and -static-runtime. You may also need to specify the path to the static version of any external libraries you want to include. After configuring, run make to start the build process. This may take a while, depending on the speed of your system. employee monitoring software
  • Error libpython3.11.dylib not found when starting pyside6-designer on macOS

    Unsolved
    1
    0 Votes
    1 Posts
    428 Views
    No one has replied
  • Problem when using Libtorch with Qt

    Solved
    9
    0 Votes
    9 Posts
    3k Views
    Z
    It works when I select libtorch that supports cxxabi and delete the define in the .pro file: #QMAKE_CXXFLAGS += -DGLIBCXX_USE_CXX11_ABI=0. Thank you @Christian-Ehrlicher.
  • QT6 designer.exe won't launch (on Windows-10)

    Unsolved designer launch
    3
    0 Votes
    3 Posts
    717 Views
    D
    @DarkSky And... I installed PySide6 on WSL2, but it doesn't run there either, missing libxkbcommon.so.0, which BTW https://www.x.org/releases/individual/lib/ does not have listed.