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.5k Topics 34.7k Posts
  • Qt Creator crashes (SIGABRT) on expression error

    Moved Unsolved
    9
    0 Votes
    9 Posts
    158 Views
    JonBJ

    @James-Murray OK, so just the same as I wrote in my first post. Same behaviour, but I don't get the message box.

  • 0 Votes
    2 Posts
    39 Views
    Z

    I figured it out. Interestingly, cmake was not selected on the Qt installer by default. I had to install cmake through the Qt Maintenance Tool and then select the cmake version on the Qt6.8.3 default kit. I find it very strange that it was not installed by default. Tricky tricky...

    image.png

  • 0 Votes
    5 Posts
    68 Views
    jsulmJ

    @Yuyang I suggest you upgrade your QtCreator and MinGW versions, because you're using quite old versions.

  • Exception at 0x7ffab88fd10d, code: 0x40010005 breakpoint

    Moved Unsolved
    2
    0 Votes
    2 Posts
    48 Views
    JonBJ

    @unknown_error
    I do not use Windows/MSVC/CDB so cannot answer any deeper than this, but it is a "first chance exception". That is an MSVC debugger thing and should be ignored --- you are not interested in any first chance exceptions which occur. Try unchecking that First chance exceptions checkbox? Does the debugger actually stop at that breakpoint? In which case you will just have to continue from there. I do not know if you can permanently ignore it.

  • QtCreator errors with QtGraphs QML

    Unsolved
    7
    0 Votes
    7 Posts
    169 Views
    SGaistS

    @Tobias83 I just realized you have 6.7. Qt Graphs went out of tech preview with 6.8.

  • 0 Votes
    3 Posts
    91 Views
    atom_352A

    Thanks! after reinstallation it really works

  • problemm with cmake

    Solved
    7
    0 Votes
    7 Posts
    212 Views
    atom_352A

    @cristian-adam Thanks! That's really helped me

  • QtCreator qt5printers

    Unsolved
    2
    0 Votes
    2 Posts
    65 Views
    aha_1980A

    @Willer75 The pretty printers heavily depend on the internal memory layout of the objects, and this layout changes at least on major upgrades like Qt5 -> Qt6. Sometimes, while fixing code for newer Qt versions, the printers break for older versions (unfortunately).

    So what you could try is to use the latest Creator version 16.x, and if that does not work you could file a bugreport.

    Regards

  • 0 Votes
    5 Posts
    139 Views
    aha_1980A

    @PetQter

    Can you please explain what is this feature when qtcreator tries to build automatically something immediately after start ? In previous crashes I saw git process there, so qtcreator tries to download something from git and build it on background. What is this feature for ?

    This is most likely not the case. As @jsulm already said, Creator needs to check the tools it is using, and the compiler and git are tools it is using.

    Regards

  • Fresh install of qt and new project wont run

    Unsolved
    2
    0 Votes
    2 Posts
    56 Views
    SGaistS

    Hi and welcome to devnet,

    Looks like you are missing the OpenGL dev package for your distribution.

  • QT Installer Framework on Windows with MSVC but fail

    Solved
    17
    0 Votes
    17 Posts
    261 Views
    N

    @JonB thank you, I will try

  • Optional chaining removed by auto format on save

    Unsolved
    1
    0 Votes
    1 Posts
    29 Views
    No one has replied
  • 0 Votes
    5 Posts
    132 Views
    S

    Understood. Thanks

  • 0 Votes
    3 Posts
    113 Views
    A

    i use Wayland, i switched to x11 like an hour a go into an x11 session (yeah, i have x11 also), and nothing, now i don't know if i'm missing a pkg

    EDIT: also my DE is KDE Plasma, and I tried the Flatpak version, same.. Google's AI, thinks that this could be:

    ~~To use Qt Creator with Wayland on Arch Linux, ensure you have the necessary packages installed, including qt6-wayland or qt5-wayland, and set the QT_QPA_PLATFORM=wayland environment variable.
    Here's a more detailed breakdown:

    Install Qt Creator: Use the package manager pacman to install Qt Creator: sudo pacman -S qtcreator.

    Install Wayland support for Qt:

    Install the appropriate Wayland plugin for your Qt version: For Qt 6: sudo pacman -S qt6-wayland.

    For Qt 5: sudo pacman -S qt5-wayland.

    Set the environment variable:

    To force Qt applications to use Wayland, set the QT_QPA_PLATFORM environment variable: Open a terminal and run: export QT_QPA_PLATFORM=wayland.

    To make this change permanent, add the line export QT_QPA_PLATFORM=wayland to your shell configuration file (e.g., ~/.bashrc, ~/.zshrc).

    Troubleshooting:

    If you encounter issues with Qt applications finding the Wayland plugin, ensure that the necessary directories are correctly copied or symlinked, as described in this Qt Forum thread.

    If you are using a custom Qt build, make sure that the Wayland plugin is included in the build.
    If you are using XWayland, you might need to set QT_QPA_PLATFORM=xcb to run Qt applications on XWayland.

    Wayland and Qt:

    Wayland is a display server protocol that aims to replace the X Window System.

    Qt provides the Qt Wayland Compositor module for developing custom display servers based on the Wayland protocol.
    The Qt Wayland Compositor module provides QML and C++ APIs for developing custom display servers.
    ~~

    i have all of that i just need to run qtcreator under that env var, and see if that can solve it

    followed the ai steps, nothing also.. just that now the qt icon is not missing everytime i run a project in the window but that's all, didn't really worked at all

  • no CMAKE_CXX_COMPILER

    Moved Unsolved
    11
    0 Votes
    11 Posts
    225 Views
    M

    WSL is my friend - this worked for me.

    Thanks to everybody for your help in this thread. Now to try and create something :o)

  • Qt VS Tools on 6.8.0

    Moved Unsolved
    3
    0 Votes
    3 Posts
    370 Views
    V

    Same on one of my PCs (on another one it does deploy these DLLs).
    I don't think these DLLs should be needed for my project, and I call windeployqt with the --no-system-d3d-compiler, shouldn't that prevent it from deploying this dead weight?

  • 0 Votes
    2 Posts
    83 Views
    cristian-adamC

    Please try with Qt Creator 16. If the performance is still bad, please do open a bug report at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512

  • Created new project, only seeing CMakeLists.txt file

    Moved Unsolved
    7
    0 Votes
    7 Posts
    146 Views
    B

    I was able to resolve this issue by adding CMake to the PATH (I'm on Windows), I could then update the Kits configuration to include CMake, and the project could then be built. I ran through the installation/getting started tutorial and that was not mentioned.

  • 0 Votes
    2 Posts
    61 Views
    cristian-adamC

    Remove the Qt version from the Kit. It's obviously wrong.

  • Auto-complete only show up when pressing ctrl + space

    Unsolved
    3
    0 Votes
    3 Posts
    86 Views
    N

    Still looking for solution but have yet to found any. As I mentioned above it is just posts about vintage QT Creator version. Any help would be greatly appreciated.