Skip to content

Qt Development

Everything development. From desktop and mobile to cloud. Games, tools, 3rd party libraries. Everything.
144.6k Topics 724.4k Posts
Qt 6.11 is out! See what's new in the release blog

Subcategories


  • This is where all the desktop OS and general Qt questions belong.
    84k 460k
    84k Topics
    460k Posts
    Q
    So, what log files or whatever can I give somebody to tell me what setting is set wrong, or what is wrong? So, I have been following this series, Qt Designer Plugins posted by KDAB to learn how to create plugins. https://www.youtube.com/playlist?list=PL6CJYn40gN6iNg0nIYH4QLhYkfs5PslbA I've been able to compile in Qt Creator each one of these projects for each of the videos. This is the only one that won't work, and I'm not sure what to do about it. So far, I've only had to make sure things say Qt6 instead of 5, and set the cmake_minimum_required version correctly. My setup is Qt 6.11.1 installed from source using the configure.bat --release-and-debug=yes option. I am using Windows 11 and Qt Creator 20.0.1. I have Visual Studio 2026 installed, but I had to use 2022's development tools by setting the vcvarsall.bat's option -vcvars_ver=14.44. I don't know if that's an issue or not. My issue keeps hitting on line 62 of the CMakeLists.txt file included with part 2 of this, which is video 5 in the series. This line 62 has the instruction: include(QtInstallPaths) The part 1 of this, 4th video in the series, did not have this instruction. I cannot even build the project at the moment because Qt Creator has not setup the project correctly yet due to that issue on line 62. Right now, it's just a list of the files without any distribution of the files to the appropriate sections of the project. The error provided is: C:\path\to\project\directory\QtDesignerPlugin-part2\CMakeLists.txt:62: error: No supported Qt version found. Make sure you find Qt before calling this Call stack: CMakeLists.txt:62 (include) cmake/QtInstallPaths.cmake:42 (message) :-1: error: The command "D:\path\to\cmake\cmake421\bin\cmake.exe -S C:/path/to/project/directory/QtDesignerPlugin-part2 -B C:/path/to/project/directory/QtDesignerPlugin-part2/build/x86_windows_msvc2026_pe_64bit_RelWithDebInfo" terminated with exit code 1. :-1: error: CMake project configuration failed. No CMake configuration for build type "RelWithDebInfo" found. Check General Messages for more information. I am hoping this is a common problem, since I have done nothing to this example project other than change the Qt5 to Qt6 and the minimum cmake version to 3.16 from 3.3. 3.3 was giving me an error until I changed it. Thank you.
  • Looking for The Bling Thing(tm)? Post here!
    20k 78k
    20k Topics
    78k Posts
    S
    Vector-based formats are usually superior to pixel-based formats. SVG is a vector format, so it is generally preferable to use a vector image. This allows the image to scale properly to different screen sizes.
  • The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
    14k 63k
    14k Topics
    63k Posts
    Ronel_qtmasterR
    @Andy314 solution one is the right answer but you're missing few things. You should not process the camera streams on the main thread, you need to create another thread for gettig the camera frames and sending them to the Ui Moreover, after getting the camera frame and display it, you should free the memory space consumed by it. otherwise it will be slower and take too much ram
  • This is a discussion space for

    • for audio / video playback and recording
    • media formats and codecs
    • camera and screen sharing functionality
    51 222
    51 Topics
    222 Posts
    V
    I have been having this same issue with my Bluetooth headset not being detected
  • Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
    8k 36k
    8k Topics
    36k Posts
    N
    Thanks for the suggestion, but I had actually tried all that before posting my query. I finally did solve it by checking my path statements. On build I have it configured to put the final .exe in a 'bin' folder and a few project-associated .dlls in a plugins folder in the 'bin'. When I ran the windeployqt.exe to get the latest Qt .dlls for all that, I had the path wrong, so apparently got incorrect .dlls.
  • Your Qt just doesn't want to build? Your compiler can't find the libs? Here's where you find comfort and understanding. And help.
    10k 52k
    10k Topics
    52k Posts
    MelOzoneM
    @JKSH said in How to contribute to an older branch - You need 'Create Change' rights message: Does this build successfully? Apparently, yes, this way works. I've never used Qt Creator before (Qt 6.12.0-beta2 requires choosing a "custom installation" where it isn't included by default). (except the "Release" part in p.4 β€” it didn't ask that, or I've missed it, or it possibly picks the presets from my CMakeUserPresets (which contain "CMAKE_BUILD_TYPE": "Debug", ). I've built it with tests and managed to run a couple (hopefully, Creator runs them against the correct version). What do you propose next? I can probably integrate my changes into QtSvg 6.12 on my own. Will this build be suitable to push for code review?
  • What can we say - we like games. And you can use Qt to write some. Questions? Ask here.
    875 4k
    875 Topics
    4k Posts
    S
    Thanks for the detailed breakdown! I've been looking into Qt for game dev lately, so this information is really good to know.
  • Discussions and questions on QtWebEngine
    1k 4k
    1k Topics
    4k Posts
    J
    Finally got my 6.11 installation working. This was fixed in the update.
  • You're using Qt with other languages than C++, eh? Post here!
    870 3k
    870 Topics
    3k Posts
    PedromixP
    New version QtJambi 6.11.1 is available now πŸŽ‰. For all who want to create smart UIsπŸš€ in Java or Kotlin based upon the latest Qt release. https://www.qtjambi.io/ [image: 95a6c11a-f7b2-4a9c-8325-ccfc9c93b3ec.png]
  • For discussion and questions about Qt for Python (PySide & Shiboken)

    3k 15k
    3k Topics
    15k Posts
    F
    The QRangeModel example shows what currently works. The main use case for QRangeModel for us was to get numpy data into a graphs view conveniently; string tables work do not work (yet). QAbstractTableModel would be better suited for this.
  • Specific issues when using Qt for WebAssembly

    467 2k
    467 Topics
    2k Posts
    F
    What you say is true, it's an oversight. That does not solve the issue I am having though: the dialog opens when compiled to desktop, not when compiled to WASM.
  • Discussions and questions about Qt Quick Ultralite and using Qt on microcontrollers in general

    156 476
    156 Topics
    476 Posts
    G
    I am working on a Qt for MCUs application and currently using OTF font files with the Static font engine. The font quality is good with OTF, but internal flash usage becomes very high. When I use FMP fonts, flash usage is low, but some glyphs do not render properly. Any guidance on the correct approach to move OTF font storage to external memory would be very helpful. Thank you.
  • Combining Qt with 3rd party libraries or components? Ask here!
    1k 6k
    1k Topics
    6k Posts
    S
    I know this is an old thread, but since it still shows up in search results: In case someone has issue with cross-compiling vlc4.0 from linux to windows, You can also checkout a blog on this issue: https://medium.com/@skdevane/building-vlc-4-0-for-windows-inside-wsl2-every-wall-i-hit-and-how-i-got-through-them-72e6e1e2d456
  • The forum for discussing the Qt Digital Advertising Platform

    16 41
    16 Topics
    41 Posts
    E
    @nayka Can I use QtDigitalAdvertising on PC applications? Or is it only allowed for use on Android or iOS mobile devices?
  • For discussion and questions about Qt Insight

    11 20
    11 Topics
    20 Posts
    jsulmJ
    @Alejandro_qt_ Here is an example how to build qtbase module: https://stackoverflow.com/questions/50022325/building-qt-module-from-source