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.4k Topics 34.2k Posts
  • 0 Votes
    6 Posts
    71 Views
    cristian-adamC

    I think the best option is to open a bug report / suggestion at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512 and assign it to me. Thank you in advance.

  • 0 Votes
    12 Posts
    82 Views
    JonBJ

    @Perdrix
    Yes, I think message

    qt.qpa.xcb: could not connect to display

    is the clue. I think that when xcb fails to load, their misleading message about libxcb-cursor0 notwithstanding, you get an explicit "failed to load" but not "could not connect to display". I think you only get that one when DISPLAY is wrong.

  • 0 Votes
    3 Posts
    29 Views
    H

    Hi @jsulm
    Thanks for you response :-)

    I think i have setup the sysroot correctly. In the "Preferences" -> "Kits" and under the Sysroot, i have defined:
    /opt/fsl-imx-wayland/6.6-scarthgap-imx-full-image/sysroots/cortexa7t2hf-neon-poky-linux-gnueabi

  • How to Disable Hover Effect for QPushButton in Qt 6.7.3?

    Unsolved
    1
    0 Votes
    1 Posts
    16 Views
    No one has replied
  • No suitable kits can be found. How do I solve this?

    Moved Unsolved
    28
    0 Votes
    28 Posts
    57k Views
    jsulmJ

    @Jalim_Rabei Kits is a QtCreator thing. You just need to install Qt and in case you installed Qt for MinGW on Windows also MinGW. QtCreator will detect installed Qt versions and compilers and create Kits. You can modify these Kits or create new Kits by yourself if needed.

  • Qt Creator responds very slow

    Unsolved
    4
    0 Votes
    4 Posts
    72 Views
    cristian-adamC

    I can see it at https://bugreports.qt.io/browse/QTCREATORBUG-32176 Thank you.

    Thank you. Please comment there with the details of the computer running. Memory, CPU, etc. Was the project using a remote device and so o.

  • CMake Tool is unconfigured. CMake generator will be ignored.

    Unsolved
    9
    0 Votes
    9 Posts
    1k Views
    cristian-adamC

    I haven't seen this in practice. Please do open a bug report at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512

    I do have Python on my Windows machine, it's autodetected, but makes no issues:

    $ where python C:\Users\Cristian Adam\AppData\Local\Programs\Python\Python312-arm64\python.exe C:\Users\Cristian Adam\AppData\Local\Microsoft\WindowsApps\python.exe

    If you don't need Python, you could disable the Python plugin. You could have a Qt Creator shortcut that does the equivalent of:

    $ qtcreator -noload Python
  • QtCreator post build command

    Unsolved
    1
    0 Votes
    1 Posts
    20 Views
    No one has replied
  • 0 Votes
    6 Posts
    740 Views
    SprezzaturaS

    I'm using Qt 6, MSVC 2022, qmake. I had to add this to the .PRO file:

    QMAKE_CFLAGS += -std:c++17 QMAKE_CFLAGS += -Zc:__cplusplus
  • Annoying problem with Qt Creator software after update

    Moved Unsolved
    35
    0 Votes
    35 Posts
    1k Views
    cristian-adamC

    At https://stackoverflow.com/questions/29826101/how-to-restart-adb-manually-from-android-studio we learn that one has to do a:

    $ adb kill-server && adb start-server

    You could have this in a script that start Qt Creator, or in Qt Creator as an external tool.

  • QtCreator Android: How to disable QtQuick?

    Unsolved
    3
    0 Votes
    3 Posts
    47 Views
    warped-rudiW

    Hehe. I've found the reason! My source tree contains a 3rd party library, which I updated recently. The new version would include an example showing how to use it with QML. Now, androiddeployqt is running qmlimportscanner with the root directory set to the source tree. Thus it will find this (unused) example code and stuff it's dependencies into the APK, nearly doubling the size.

    I could get around that by specifying QML_ROOT_PATH in the project file.

  • Qt ScrollArea

    Solved
    3
    0 Votes
    3 Posts
    49 Views
    E

    You are right, the layout in "scrollAreaWidgetContents" solved the problem. Thank you very much.

  • 0 Votes
    9 Posts
    159 Views
    aha_1980A

    @DeepakD Have you thought of this: USB-hubs need power, and especially on battery powered devices this may be a problem.

    Are these tablets connected to a power supply are are they on battery?

    Regards

  • Copilot stopped working

    Solved
    9
    0 Votes
    9 Posts
    192 Views
    mzimmersM

    @cristian-adam that link looks very promising. It looks like there are a few variations on the proposed solution -- any idea which one I should use?

    I'm running on Windows 11.

    EDIT:

    Problem solved.

    set NODE_EXTRA_CA_CERTS=C:\ProgramData\Netskope\stagent\data\rootcaCert.cer

    Or perform the equivalent from the Windows app to set environment variables.

    The standard installation of Netskope only seems to include files in .pem.enc format, so my IT guy had to give me the .cer file. But...it works!

    Thanks to all who looked.

  • QtCreator and lupdate

    Moved Solved
    3
    0 Votes
    3 Posts
    201 Views
    mrdebugM

    I think the problem is related to upgrade from QtCreator 14 to 15. In order to have the linguistic tools available I had to create the menu entries by hand as the screenshot

    Screenshot_20241209_200544.png

  • QtCreator / Ubuntu 22.04 / LLDB / __clone3()

    Unsolved
    6
    0 Votes
    6 Posts
    338 Views
    D

    I've found the lldb stops on SIGSTOP signal.
    After command in debugger log view

    process handle SIGSTOP -n true -p true -s false

    lldb runs ok on thread starting - it doesn't break anymore.

    However I don't understand how to add this command to run automatically on the start of debugger. Nor "Additional startup commands" not file ~/.lldbinit didn't help.

    I can put this command into Debugging Helper Customization text box. In this case command works - however regular breakpoints don't work :)

  • How and where remove double detected documentation?

    Solved
    2
    0 Votes
    2 Posts
    78 Views
    I

    This happens when, on example of OpenSUSE TW, Qt updates. New Qt version with new documentation makes records in ./config/QtProject/qtcreator/helpcollection.qhc. And after each update of Qt in helpcollection.qhc make new records about new documentation versions that points to the same *.qch files in system /usr/share/doc/qt6. So removing helpcollection.qhc solves this issue. I guess this is a QtCreator's issue, because removing in settings dialog old documentation versions doesn't work, they appear again and again after restart of QtCreator.

  • fakevim number lines bugging in last line

    Moved Unsolved
    5
    0 Votes
    5 Posts
    202 Views
    K

    same problem

  • 0 Votes
    8 Posts
    423 Views
    E

    same here. ldd gives no missing library for qmake.
    I try to install on a Debian 12

  • I cannot get Qt Creator / Designer to work for the life of me

    Moved Unsolved
    19
    0 Votes
    19 Posts
    1k Views
    Y

    I also use Arch and the software crashes just as well, just after the recent update. Can building from source solve the problem?