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.3k Posts
  • 0 Votes
    7 Posts
    1k Views
    G
    I also get a lot of these errors: LNK2038 mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in mocs_compilation.obj LNK2038 mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in mocs_compilation.obj when compiling ClangFormat clangpchmanagerbackend clangrefactoringbackend Note this is when I manually copy the cmake_pch.cxx.pch and cmake_pch.cxx.obj into the directory described above and rename them. Otherwise I get Error LNK1104 cannot open file 'C:\Qtdev\QtCreatorBld\src\libs\3rdparty\syntax-highlighting\QtCreatorPchGui.dir\Debug\cmake_pch.obj'
  • QDS: How to use the QDS Effects?

    Unsolved qds
    1
    0 Votes
    1 Posts
    143 Views
    No one has replied
  • Project Pane Too Dark

    Unsolved
    8
    0 Votes
    8 Posts
    2k Views
    F
    I had the same problem (but in reverse, the pane was too light and the pale text hard to read) on Manjaro / Xfce. I solved it by running qt5ct from the terminal and changing the appearance settings there. Changing 'style' to Gtk2 worked for me, making the sidebar more like my desktop.
  • external docker cmake for qt

    Unsolved
    2
    0 Votes
    2 Posts
    240 Views
    SGaistS
    Hi, From a quick look at the guide, you are completely missing the volume parameters to persist the data generated back to your host.
  • QtCreator constantly "forgetting" CMake property settings

    Unsolved
    13
    0 Votes
    13 Posts
    2k Views
    Y
    @CoBo said in QtCreator constantly "forgetting" CMake property settings: QtCreator is for me the tool of choice for C++ programming, and CMake is the build tool that I at least prefer over qmake because it is much more powerful - plus the base of all my projects is done with cmake anyway. Count me as another user with pretty much same use case. A very common flow: configure CMake project with cmake-gui or even cmake directly -> build it with command-line -> repeat multiple times with multiple projects -> sometime open one of the projects with Qt Creator to write more code/debug/etc. I remember Qt Creator was able to open an existing cmake build folder (with existing CMakeCache.txt) just fine for a while, and I was happy with it, even though I couldn't preset cmake variables from Qt Creator before running the cmake for the first time for a brand-new build configuration (still cannot, and yes, that is a big deal for my project(s)). Last few versions (4.12.1, 4.12.2 for sure) this became broken again. If I open an existing cmake build folder (by importing a build configuration or by selecting an existing build folder for an existing QtCreator build configuration) - Qt Creator would delete CMakeCache.txt and re-run cmake from scratch, which actually breaks my build configuration completely( BTW: my cmake version is 3.16 so it does support filesystem API.
  • 0 Votes
    1 Posts
    468 Views
    No one has replied
  • How to set a transparent Button on QVTKWidget based on QT?

    Locked Unsolved
    2
    0 Votes
    2 Posts
    238 Views
    jsulmJ
    @dffffaa Please do not double post! Closing this. https://forum.qt.io/topic/116061/how-to-set-a-transparent-button-on-qvtkwidget-based-on-qt
  • Image cannot be decoded depending on build mode

    Unsolved
    3
    0 Votes
    3 Posts
    343 Views
    D
    @jsulm said in Image cannot be decoded depending on build mode: qjpeg.dll Thank you for your reply. I found "qjpeg.dll" in the "C:\Qt\Tools\QtCreator\bin\plugins\imageformats" and "C:\Qt\5.13.0\msvc2017\plugins\imageformats" Do you start your app from QtCreator or do you deploy it? I started my app from QtCreator. Thanks.
  • Windows Installer: how to change icon of desktop shortcut

    Solved
    3
    0 Votes
    3 Posts
    528 Views
    mzimmersM
    @jsulm hey, you're right! That was a pleasant surprise on a couple of fronts: I didn't realize the shortcut took the icon of the original file, and also this seemed to be a more straightforward process than it used to be (no more .rc file; just an entry in the project file.) Thanks!
  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    18 Views
  • QT Creator not colorizing QSS file

    Moved Unsolved
    3
    0 Votes
    3 Posts
    416 Views
    D
    Ok Thanks. Will play around with those settings. Also anyone know how to get your UI designer view to zoom out to fit on the screen? Thanks again.
  • QtCreator and call conan inside the ide - cmake: command not found

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    SGaistS
    Can you provide a minimal project that shows that behavior ?
  • Valgrind Memcheck tool issue

    Moved Solved
    17
    0 Votes
    17 Posts
    5k Views
    JonBJ
    @nagaraj_r said in Valgrind Memcheck tool issue: @JonB libdbus has been installed as part of debian distribution I'm sure it has, but I no idea what it is! :)
  • Qt Creator... During startup program error.

    6
    0 Votes
    6 Posts
    38k Views
    Pablo J. RoginaP
    @HeCa said in Qt Creator... During startup program error.: On windows there does exist similar functions On Windows you may want to look at Dependency Walker tool.
  • Qmake producing win solution with absolute path

    5
    0 Votes
    5 Posts
    3k Views
    R
    @Muby just read the source files in src/qtbase/qmake and modify what you want, and re-compile the qmake.exe
  • QtCreator possibly deleted all my home folder

    Unsolved bug qt creator openssl
    2
    0 Votes
    2 Posts
    576 Views
    aha_1980A
    Hi @Edcarllos, that would be a desastrous button then! Thanks for the heads-up. Here's the link to the bugreport: https://bugreports.qt.io/browse/QTCREATORBUG-24173 And good luck recovering your files! Best regards
  • QT Enterprise Trial Period

    Solved
    8
    0 Votes
    8 Posts
    1k Views
    S
    @J-Hilk @jsulm I think I missed this last part, thank you. I'll try to install using this.
  • QT Creator 4.11 Semantic Issues after upgrade

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    Renegade243R
    Hi Jon, I too upgraded from Ubuntu 19.10 to 20.04 - the QT Creator version available from apt-get (4.11.0) does not work on Ubuntu 20.04 as there are issues with the semantic checking making the software unusable (upgrading cmake, qmake and gcc) to the latest version does not help [I have verified this over two desktop PCs]. I downloaded the installer for the latest QT creator (4.12.2) given in my above post and that works just fine, absolutely no issues. On the whole I would recommend upgrading to Ubuntu 20.04, it is much faster and there is a range of other performance issues which have been solved specifically to do with gnome, both my computers have seen a wide range of improvements and there has been little/no issues faced due to incompatibility etc (I run an FPGA development environment also). Best Regards, Ren
  • 0 Votes
    12 Posts
    3k Views
    S
    Well, huh. I thought I tried that one with the bigger project before, but it does work with the test program here, so that must have been something else. Thank you for your assistance.
  • Qt Visual Studio Tools. An item with the same key has already been added.

    Unsolved
    1
    0 Votes
    1 Posts
    279 Views
    No one has replied