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
  • Can't auto detect x64 MSVC compiler

    Moved Unsolved
    6
    0 Votes
    6 Posts
    534 Views
    O
    Thanks a lot
  • 0 Votes
    5 Posts
    799 Views
    BaroneAshuraB
    @JonB said in QJSonObject: is there any way to know where the instance is located within the JSON Document?: @BaroneAshura if you wanted to know what line number "size" was at you would have no luck. Thanks for the confirmation of my suspects. Looking for this confirmation was the purpose of the question You could print out its "parentage" up/down the tree (like I said, by traversing and finding only) but that may be ambiguous as well as difficult for the user to locate, though it might be better than nothing. For example, if the w value was bad you could tell them it was at /screen/size/w or if they were missing something in a deeply nested size inside objects and arrays you could pint them to /screen/somearray[10]/someobjectkey/.../size. If they have a "JSON folding editor" they might track it down. I may end up working on solutions based on the above possibilities... Thanks for your time :)
  • Code color paste with HTML format in Qt creator

    Moved Solved
    8
    0 Votes
    8 Posts
    871 Views
    DQUY05D
    @cristian-adam that's great, thank you
  • Adding Linux device with Creator fails

    Unsolved
    7
    1 Votes
    7 Posts
    2k Views
    cristian-adamC
    Dont' forget to mark the thread as solved.
  • 0 Votes
    5 Posts
    550 Views
    T
    @JonB Yes, that works for the leading '*' at least. Never thought to look at that options page... Actually, I hardly even noticed it when I checked, although I must have reviewed its settings in the past. Thanks. Like I said, I guess the indentation bit might be a clang-format issue. It's still unclear to me (from reading the docs) how it's supposed to format comments.
  • How to integrate Qt's offline documentation in Visual Studio Extension

    Moved Unsolved
    2
    0 Votes
    2 Posts
    378 Views
    M
    Hello, @Amirreza-Taghizadeh To use Qt's offline documentation in Visual Studio with the F1 key: Install Qt Docs: Ensure offline documentation is installed via the Qt Maintenance Tool. Install Qt Visual Studio Tools: Ensure you have the latest version installed. Configure Help: Go to Tools > Options > Environment > Help > Online. Select Try local first, then online. For advanced integration, create a Visual Studio extension to open Qt Assistant with relevant documentation when F1 is pressed. I hope this will be help you Regards Mike
  • Show .md file previev above of below editor

    Unsolved
    1
    0 Votes
    1 Posts
    166 Views
    No one has replied
  • Qt 6.5.3 fails to build examples on Debian 12

    Solved
    21
    0 Votes
    21 Posts
    6k Views
    alik_coA
    @Axel-Spoerl Found the problem: cmake machinery got broken by custom Default Build Directory (Build & Run -> Default Build Properties). I've been using this configuration with QMake projects with no issues, but CMake got unhappy. Anyway, to answer your questions: Qt Versions, -> Qt 6.5.3 GCC 64bit: /home/devwork/Qt/6.5.3/gcc_64/bin/qmake CMake -> Tools: Auto-detected CMake 3.27.7 (Qt) (Default) /home/devwork/Qt/Tools/CMake//bin/cmake System CMake at /usr/bin/cmake /usr/bin/cmake
  • How do I get the program startup log file in qt creator?

    Unsolved
    2
    0 Votes
    2 Posts
    289 Views
    SGaistS
    Hi, What kind of log file are you thinking about ? Qt Creator just starts the application, no file is generated for that part.
  • Copilot integration agent.js -> language-server.js

    Unsolved
    2
    0 Votes
    2 Posts
    638 Views
    O
    Apols, thought I was on the latest version of Creator but was not. Can see there is now a note about language-server.js
  • How to change location of .qtc_clangd folder location?

    Solved
    10
    0 Votes
    10 Posts
    3k Views
    M
    In my case I would like to tell Qt creator to stop generating compile_commands.json and using the one generating by cmake. It could be done automatically by detecting CMAKE_EXPORT_COMPILE_COMMANDS is on.
  • Bug in QtCreator / Settings. Initialization issue?

    Unsolved
    2
    0 Votes
    2 Posts
    301 Views
    jsulmJ
    This is not the right place to report bugs. There is https://bugreports.qt.io/secure/Dashboard.jspa for that. Also, "KDE Plasma 6" is not an OS. If you file a bug please also mention the OS.
  • How do I download a program with the "tslib plugin" from qt creator?

    Moved Unsolved
    12
    0 Votes
    12 Posts
    1k Views
    A
    @jsulm said in How do I download a program with the "tslib plugin" from qt creator?: Is it the plug-in library file or some plug-in dependency? I added libraries: TSLIB_TSDEVICE=/dev/input/event1 TSLIB_FBDEVICE=/dev/fb0 TSLIB_CONFFILE=/etc/ts.conf TSLIB_CALIBFILE=/etc/pointercal TSLIB_PLUGINDIR=/usr/lib/arm-linux-gnueabihf/ts0 QT_QPA_FB_TSLIB=1 QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0 not error ts_setup() failed (No such file or directory)
  • Qt Creator crashes when launching preferences

    Solved
    3
    0 Votes
    3 Posts
    432 Views
    L
    Hi Thanks for your input. Version is : Qt Creator 10.0.2 Based on Qt 6.4.2 (GCC 13.2.0, x86_64) I moved away the qtcreator folder in the config, launch qtcreator which recreated a correct .clang-format file, copied this file in my qtcreator folder, then deleted the new qtcreator folder and replaced it by my old folder with the new .clang-format file and it seems to work.
  • Valgrind in Qt Creator.

    Unsolved
    1
    0 Votes
    1 Posts
    195 Views
    No one has replied
  • Microsoft Visual C++ Runtime Library (Not Responding)

    Moved Unsolved
    2
    0 Votes
    2 Posts
    449 Views
    C
    @Charlie2406 The problem was systemic and the solution is as follows: Powershell -> (login as admin) PS C:\WINDOWS\system32> sfc /scannow PS C:\WINDOWS\system32> Dism /Online /Cleanup-Image /RestoreHealth 2 and 3 will take time to run. When complete, reboot.
  • Qt Maintenance Tool falsely reports having "commercial Qt Licenses"

    Unsolved
    12
    1 Votes
    12 Posts
    2k Views
    SGaistS
    @Axel-Spoerl hi, yes. You can find them at https://proton.me
  • Control "git log" arguments in Qt Creator

    Unsolved
    1
    0 Votes
    1 Posts
    140 Views
    No one has replied
  • CMake project configuration failed. Error

    Moved Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    jsulmJ
    @MrHandSOme said in CMake project configuration failed. Error: now I am getting C1083 error from the c files in the project I mentioned in the link and it gives an error in the #include lines It is always good to post the actual errors, so that others at least know what header files were not found.
  • QtOPCUA for ARM processor - Can not run compiler

    Unsolved opcua arm64 cross compile
    1
    0 Votes
    1 Posts
    255 Views
    No one has replied