Skip to content
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Qt Development

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

Subcategories


  • This is where all the desktop OS and general Qt questions belong.
    84k 461k
    84k Topics
    461k Posts
    B
    Minimal compilable example, based on Qt Creator's "Qt Widgets Application": #include "mainwindow.h" #include <QtWidgets/QFontDialog> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { bool ok = false; QFont font = QFontDialog::getFont(&ok, this); qDebug() << "ok =" << ok << "font =" << font; } MainWindow::~MainWindow() = default; Result under macOS 27, regardless of what font is selected in the Apple font dialog, after closing the dialog using the red button: ok = false font = QFont(.AppleSystemUIFont,13,-1,5,400,0,0,0,0,0,0,0,0,0,0,1) In macOS 26, this same code would have set ok to true and font to whatever was selected, after the user clicked the OK button that is no longer visible in macOS 27 (as the other commenter described).
  • Looking for The Bling Thing(tm)? Post here!
    20k 78k
    20k Topics
    78k Posts
    Y
    @Axel-Spoerl Sorry. It looks like the black rectangle isn't a regression, but rather the implementation of dark mode support. In version 6.8, dark mode wasn't applied automatically. If the system color theme is light, both versions look identical. Qt 6.8.3, Dark theme, scale 100%: [image: 71a73ecd-1d25-45ed-8f99-4f2ec5c51524.png] Qt 6.12.0, Light theme, scale 100%: [image: 8b33cb68-132d-4875-abc8-16958c5d9507.png] Interestingly, even at 100% scale, the scrollbar looks a bit jagged in both versions, even though the scrollbar itself is straight. However, Fusion.ScrollBar looks good. Thank You. [image: 31dff5ec-b1ac-45f7-a7c0-780738a887fd.png] Should I close the topic as resolved?
  • The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
    14k 63k
    14k Topics
    63k Posts
    S
    @SGaist said in can we use Qt lgpl in android and ios ?: Or did you mean provide the .ipa just to swap the libraries themselves ? I'm not sure what those are called. But in the case of dynamic libraries you don't need to provide the build artifacts. However, to be able to replace the libraries on an iPhone or iPad it might be a lot more complicated to switch out libraries than on a desktop computer.
  • This is a discussion space for

    • for audio / video playback and recording
    • media formats and codecs
    • camera and screen sharing functionality
    55 231
    55 Topics
    231 Posts
    SGaistS
    Hi and welcome to devnet, Maybe a silly question but did you follow the information of the table a the top of the QMediaPlayer class documentation to be able to use the class in your code ?
  • Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
    8k 37k
    8k Topics
    37k Posts
    V
    @ziller thank you very much. cd qtcreator SIGNING_IDENTITY=- ./scripts/build.py --src . --build ../build_qtcreator --qt-path ../install_qt --llvm-path ../libclang --no-sbom --no-dmg --no-zip This works. cd build_qtcreator cmake -G Ninja "-DCMAKE_PREFIX_PATH=../install_qt;../libclang" ../qtcreator cmake --build . --parallel cmake --install . --prefix ../install_qtcreator cmake --install . --prefix ../install_qtcreator --component Dependencies This terminates with errors: ERROR: codesign verification error: ERROR: "/Users/valentingorelov/Projects/qt/install_qtcreator/Qt Creator.app: code has no resources but signature indicates they must be present\nIn subcomponent: /Users/valentingorelov/Projects/qt/install_qtcreator/Qt Creator.app/Contents/Frameworks/QtQuick3DXr.framework\n" but the resulting app bundle works on my machine. I suppose the reason may be the documentation which has not been built. A small remark about what I am trying to achieve. I do not need a fully signed relocatable app bundle which can be installed on any machine. I just want to try to develop a small feature for Qt Creator. But this feature depends on Info.plist and will not work if I run Qt Creator from the build directory. If I understand correctly, the idea behind just cmake --install . was to achieve exactly this: non-relocatable app bundle for debug purposes which does not contain dependencies. And it works if I build Qt Creator against the Qt from Homebrew. But when Qt Creator is build against self-built Qt, this approach does not work and I need to build a full-fledged app bundle with all the dependencies. cmake --install . --prefix ../install_qtcreator --component Dependencies step takes a lot of time and it is not convenient for debugging.
  • 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
    A
    Hi, Additional info about the 0 byte component: WebAssembly category node (0 bytes) with multithread and singlethread nodes below it was added between the 6.12 development releases and that causes the MaintenanceTool view to not look right if you had previous development release installed. Run "Update components" before "Add or remove components" to fix the "Add or remove..." view. Fresh installs and upcoming releases will not see this issue.
  • What can we say - we like games. And you can use Qt to write some. Questions? Ask here.
    876 4k
    876 Topics
    4k Posts
    Nils SjobergN
    Change node.material = material; to node.materials = [material]; because the Model in QtQuick3D has a property called materials (a list), not a single material.
  • 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!
    872 3k
    872 Topics
    3k Posts
    PedromixP
    [image: a71629ce-828d-403a-aa76-8cdd4c8f1c9c.png] New version QtJambi 6.12.0 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/
  • For discussion and questions about Qt for Python (PySide & Shiboken)

    3k 15k
    3k Topics
    15k Posts
    JonBJ
    @SamuraiDestroy Qt widget layouts is a dark art. Everything you do in Designer is saved in (fairly) readable XML in the generated .ui file, nothing else. You can look at that to try to figure what is going on, and if you are really stuck you can paste it here and people can tell you what you need so long as they understand what you are trying to achieve.
  • Specific issues when using Qt for WebAssembly

    469 2k
    469 Topics
    2k Posts
    SGaistS
    Hi, Can you provide a minimal compilable example that shows this behaviour ?
  • 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