Skip to content
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

General and Desktop

This is where all the desktop OS and general Qt questions belong.
84.1k Topics 460.5k Posts
Qt 6.12 LTS is out! See what's new in the release blog
  • Reporting inappropriate content on the forums

    Pinned Locked spam
    29
    4 Votes
    29 Posts
    56k Views
    A
    Thank you for the report. I have banned the user, which got rid of the spam posting. Not a loss, as this user did not post any other content on the site. Just deleting this one posting was not possible. Thanks for reporting this.
  • Looking for Qt commercial licensing sales contact in China (Application Development)

    Unsolved
    3
    0 Votes
    3 Posts
    105 Views
    C
    @JKSH Thank you, JKSH! I sent an email to the Shanghai office two days ago, but I haven't received a reply yet. Do you happen to have more direct contact information for the sales representative in China? Thank you!
  • Same code different GUI?

    Unsolved
    12
    0 Votes
    12 Posts
    262 Views
    MucipM
    Dear @SGaist , I wrote program in QtCreator 6.11.2 in Debian 13. I copy code to Debain12. Because RockPi use Debian 12. And I use qmak6 to compile in Debian12. I run compiled program from CLI in Debian12. Debian 12KDE: [image: 867b86f2-93ee-4b35-b223-7177955adabe.png] Debian 13 KDE: [image: f4acd610-ad0e-41cb-ab86-d625da28e80b.png] I use Breeze Dark on both system. Regards, Mucip:)
  • QFontDialog on macOS 27 isn't modal anymore

    Unsolved
    2
    0 Votes
    2 Posts
    42 Views
    SGaistS
    Hi, Can you provide a minimal compilable example that shows this behaviour change ?
  • Qt Framwork add-ons Qt Charts

    Unsolved
    2
    0 Votes
    2 Posts
    49 Views
    SGaistS
    Hi and welcome to devnet, AFAICT, this one should be included. Usually the license part of the module documentation gives that information and if a module belongs to a more specific commercial product such as Qt for Automotive it is also stated in the documentation. Since you are a commercial customer don't hesitate to contact the Qt Company directly to clear your doubts. With that said, that module has been deprecated in favor of Qt Graphs that you might want to consider as well.
  • QWidgetAction for QToolButtons on secondary toolbar

    Solved qwidgetaction qtoolbar gui
    5
    0 Votes
    5 Posts
    256 Views
    SGaistS
    You're welcome ! You have it working the way you want it now ?
  • X11 Nvidia black window

    Unsolved
    3
    0 Votes
    3 Posts
    221 Views
    SGaistS
    Hi and welcome to devnet, You should also provide the kernel version you are using as well graphics card model.
  • Problem with QGraphicsView and scrollbars

    Unsolved
    2
    0 Votes
    2 Posts
    137 Views
    SGaistS
    Hi, How are you adjusting the scene and the view ? Do you have a reproducer handy ? Can you consider updating Qt to a more recent and supported version ?
  • VST audio plugin using Qt Creator with QML for the UI

    Unsolved plugins vst
    3
    0 Votes
    3 Posts
    200 Views
    S
    @JoeCFD said in VST audio plugin using Qt Creator with QML for the UI: @Simmania Not sure if VST audio plugin is good or not. Have you tried it? libVLC might be another choice. Check it out. We coded audio/video pipelines with raw gstreamer code and can have more controls over them. A lot of work is needed. FFmpeg is very good as well nowadays. But it could be much simpler with the help of AI tools. I do not understand this answer. My question was about a VST audio plugin. I'm not interested in libVLC which has nothing to do with audio plugins.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    34 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    22 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    24 Views
    No one has replied
  • Change the base server url in OpenAPI generated code at runtime

    Unsolved
    3
    0 Votes
    3 Posts
    393 Views
    SGaistS
    @Chubinou hi and welcome to devnet, Do you have a known set of servers or just "anywhere is possible" ?
  • QTabBar-like list of "x-clickable" buttons?

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    Pl45m4P
    @Nathaniel Are you thinking about something like this? [image: 4a8e41cd-0d50-468c-a032-6949ec4d33ff.png] This is used as tags / filters for the forum search function. You can make your own widget or delegate quite easily. I would start with QWidget, and then add a label and a button to it.
  • QDateTime::currentDateTime timezone issue ?

    Solved
    8
    1 Votes
    8 Posts
    587 Views
    JonBJ
    @f222 Glad I could help :) Don't understand the issue in your second paragraph so i will leave that with you. It was a guess about TZ. That is a normal environment variable under Linux (which I use) but not so much under Windows. There it gets complicated: it may depend on the compiler code you use (MinGW vs MSVC). I believe it is also used automatically by the C runtime code you link/dynamically load (DLLs) against. How that in turn relates to C++ runtime code I don't know. And I suspect Windows calls do not use it, only C/C++; and then I don't know which Qt calls' implementations use C/C++ functions versus Windows-SDK ones, and maybe a mixture (e.g. your time calculation calls use the C/C++ TZ variable but your name-of-timezone uses a Windows call?). And for all I know Qt's internal code may have changed in that area between your old-working Qt5 and new-non-working Qt6. It's all perhaps a minefield, suck it and see :)
  • 0 Votes
    9 Posts
    10k Views
    J
    Too late to edit my previous message. Forget about point (2); it has nothing to do with point (1).
  • Is QtConcurrent suitable for this concurrent/parallel algorithm?

    Unsolved
    19
    0 Votes
    19 Posts
    3k Views
    JonBJ
    @SimonSchroeder Hmm, further complications. I went back to ChatGPT and carefully phrased what we are trying to do/asking about, where we think this case of a boolean and the way it is set/read means we do not need atomicity and can just use, say, a volatile shared variable. The gist of its answer is: In this situation std::atomic<bool> is required if you want the program to be correct according to the C++ memory model. The important distinction is between what the hardware happens to do and what C++ guarantees. In C++, a non-atomic object cannot safely be accessed concurrently this way. That's a data race, and a data race means undefined behaviour. It doesn't matter that: [...] volatile does not fix it. volatile is about observable memory accesses, primarily for things such as memory-mapped hardware; it isn't a thread-synchronisation mechanism. and concludes: But atomicity is still required for the read/write relationship. So the short answer is: Yes, atomic<bool> is required for a correct C++ program here. No, volatile bool is not a valid replacement. But you absolutely don't need to pay for an atomic load on every iteration — checking it periodically is a very reasonable optimisation for your algorithm. (It having suggested only calling done.load(std::memory_order_relaxed) once every so many iterations round the loop, just as you & I talked about. I have implemented that for every 256 iterations in each thread and that gives me acceptably similar timing now.) So I take that it while my non-atomic implementation may appear to work, or may work fine on my particular machine/architecture, it is at least theoretically not allowed ("Undefined Behaviour") under C++ at least. In a certain sense this is "reassuring"/"simple": instead of having to ponder whether a given "shared" variable and what we do with it (flag, counter, whatever) determines whether I need atomic or not, it seems I just need to use atomic whenever I have cross-thread read/writes.
  • How to take down padding from some cells in QTableWidget

    Solved
    8
    0 Votes
    8 Posts
    639 Views
    JonBJ
    @rida_zouga OK :) Now that you are using the color just for the background and filling first you can drop the alpha/opacity, e.g. QColor(255, 255, 0) should be pure yellow. Mine was just for illustration.
  • qt-everywhere-src-6.12.0

    Unsolved
    3
    0 Votes
    3 Posts
    361 Views
    I
    If you want the release candidate it is in the development releases area of the mirrors, e.g. https://download.qt.io/development_releases/6.12/6.12.0-rc/qt/single/
  • Qt 6.11: Can't compile for 'iphonesimulator'

    Unsolved qt 6.11 mac os 26 iphonesimulator
    2
    0 Votes
    2 Posts
    2k Views
    SGaistS
    Hi, I haven't since a long time but one thing to check: which version of Xcode do you have ?