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
  • Any way to pause clangd in Qt Creator?

    Unsolved
    4
    1 Votes
    4 Posts
    225 Views
    jeremy_kJ
    Perhaps Preferences -> C++ -> Clangd -> "Use clangd"
  • Navigate to header in build dir instead of the source tree

    Unsolved
    5
    0 Votes
    5 Posts
    606 Views
    Aleksey_KA
    No, still happens.
  • cmake how to set multi QML_IMPORT_PATH?it does not work.

    Solved
    3
    0 Votes
    3 Posts
    90 Views
    Q
    it's my mistake , i set the path in another place. sorry.
  • Why my project is set to aarch64 by default?

    Unsolved
    2
    0 Votes
    2 Posts
    56 Views
    SGaistS
    Hi, Not knowing what you installed, how you installed it and what you are configured is to few details to be able to help you.
  • Compile and build project on remote machine

    Unsolved
    6
    0 Votes
    6 Posts
    151 Views
    S
    @montanaviking said in Compile and build project on remote machine: I did add a remote debugger too but that made no difference. Did set the remote debugger for the specific kit you are using? Also running sans the debugger gives errors: qt.qpa.xcb: could not connect to display localhost:15.0 qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Did you use ssh -X to do X-forwarding for your ssh connection?
  • unable to show pixmap using qrc file

    Solved
    7
    0 Votes
    7 Posts
    90 Views
    Y
    ohhhh i see. I added it to the CMakeLists.txt and now it works as expected. Thank you :D
  • Run Settings -> Executable and Working Directory

    Moved Unsolved
    2
    0 Votes
    2 Posts
    53 Views
    SGaistS
    Hi, What cli are you referring to ?
  • Issue with Qt Creator crashing on Windows 10

    Unsolved
    4
    0 Votes
    4 Posts
    129 Views
    SGaistS
    @aha_1980 Damn ! I looked for the Windows version and somehow I read 10 in place of 7...
  • Qt Creator Plugin License (Qt Company GPL Exception 1.0)

    Unsolved
    5
    0 Votes
    5 Posts
    137 Views
    W
    Thank you both, I will clarify the detail again with Qt Company.
  • Executable from sh file

    Moved Unsolved
    11
    0 Votes
    11 Posts
    957 Views
    J
    [image: 509edc5c-5bb3-4cce-8d12-e942b334a408.png]
  • 0 Votes
    1 Posts
    43 Views
    No one has replied
  • Qt Creator: Ordering of debug/release builds?

    Unsolved
    1
    0 Votes
    1 Posts
    33 Views
    No one has replied
  • Qt Creator: Enforce a release-only build in the qmake .pro file?

    Solved
    2
    0 Votes
    2 Posts
    55 Views
    R
    I found a usable workaround, but am open to other suggestions! The project file Libs.pro builds the three subprojects, one per library. I just wrapped everything in a test for debug: CONFIG(release,debug|release) { TEMPLATE = subdirs PROJECT_DIR = $$clean_path($${top_srcdir}/../) THIRD_DIR = $${PROJECT_DIR}/3rd_party SUBDIRS = \ $${THIRD_DIR}/A/A_lib.pro \ $${THIRD_DIR}/B/B_lib.pro \ $${THIRD_DIR}/C/C_lib.pro } else { error("Only release builds are allowed for these libraries! Please close Qt Creator, delete the 'Libs.pro.user' file and check your kit selection carefully.") } Works for me.
  • Qt Creator 16.0.1 on debian 13 (Wayland KDE) folder compilation configuration

    Solved
    3
    0 Votes
    3 Posts
    115 Views
    jsulmJ
    @Brashen said in Qt Creator 16.0.1 on debian 13 (Wayland KDE) folder compilation configuration: I don't remember how to do for having 'bin' as compiling folder In project settings Any errors/warnings?
  • Local LLM-assisted text completion for Qt Creator

    7
    3 Votes
    7 Posts
    887 Views
    cristian-adamC
    @Redman do you have llama-server running in background? This is just a client. On Windows is as easy as: $ winget install llama.cpp $ llama-server -hf ggml-org/gpt-oss-20b-GGUF -c 0 -fa on This assumes that your computer has at least 16 GB of VRAM. If you have less, you could try with: $ llama-server -hf ggml-org/Qwen2.5-Coder-3B-Instruct-Q8_0-GGUF -c 0 I've seen this working on a computer with a NVidia Graphics Card having 6GB of VRAM.
  • QtCreator 17.0.2 Font Issue in Qt Creator Documentation

    Unsolved
    2
    0 Votes
    2 Posts
    78 Views
    cristian-adamC
    On my Linux ubuntu-2404 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:21:04 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux it looks fine: [image: ff5126a1-93fb-46e6-9012-e64a305e8f66.png] But I'm running KDE.
  • Visual Studio debugging QVector<QString>

    Unsolved
    1
    0 Votes
    1 Posts
    47 Views
    No one has replied
  • Qt Creator 17.0.2 released

    Unsolved
    1
    1 Votes
    1 Posts
    63 Views
    No one has replied
  • How to set the receiver of a button?

    Unsolved
    2
    0 Votes
    2 Posts
    65 Views
    SGaistS
    Hi and welcome to devnet, For the how: create an instance of that class and connect as described in the documentation. That said, there's nothing wrong in having slots in your QMainWindow subclass. Just beware of not making it a god class that does anything and everything in your application. You must take the time to create a sane architecture for your application.
  • Qt Creator Context Menu Takes up the Whole Screen

    Unsolved
    4
    0 Votes
    4 Posts
    134 Views
    A
    @SGaist Exactly like https://bugreports.qt.io/secure/attachment/151070/sample-1.jpg which I just found out was reported in Qt Creator version 12. Thanks @aha_1980