Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.5k Posts
  • QT MQTT TLS Failed

    Unsolved
    3
    0 Votes
    3 Posts
    501 Views
    JKSHJ
    Hi @gguns, and welcome! For a quick sanity check: Are you able to use a QSslSocket to connect to your MQTT broker? (If this doesn't work, then QMqttClient won't be able to connect either)
  • How to diff clicked and doubleclicked in QTablevVew?

    Unsolved
    2
    0 Votes
    2 Posts
    228 Views
    jeremy_kJ
    QAbstractItemView::doubleClicked() is emitted when both clicks target the same index. Resetting the model causes all previously created indexes to be invalidated. The result of the code fragment above is that the index clicked the first time and the index clicked the second time are not the same, even if they occupy the same screen coordinates and have the same relative position within the model.
  • How to make a Qt library correctly for find_package

    Unsolved
    2
    0 Votes
    2 Posts
    217 Views
    Pl45m4P
    @Navadvipa-Chandra-das said in How to make a Qt library correctly for find_package: I want to register in the file CMakeLists.txt the command find_package( NNPrabhupada REQUIRED ) But it doesn't work. This is not a Qt question. It's solely CMake related. Either you make a sub-project / target, so you can use the "app" and the "library" both under the same CMake project or you need to create a CMake package from your library. In this regard, see the CMake documentation on how to configure packages
  • This topic is deleted!

    Unsolved
    5
    0 Votes
    5 Posts
    279 Views
  • XCode26 new Standard C++ Library breaks Qt 6

    Solved macos c++
    2
    0 Votes
    2 Posts
    232 Views
    artwawA
    Solution: some paths in Qt needed updating in build configuration - from macOS15.5.sdk to macOS26.sdk.
  • Add QImage to QLabel

    Unsolved
    7
    0 Votes
    7 Posts
    260 Views
    JonBJ
    @itzwich1 If a frame image were empty it would be fine but you wouldn't see anything, which might be what you are reporting. I don't think anyone can guess from what you say. If it's not that, for all we know you might have a different dialog or a different label from what you think you are working with. There is so much you can try to help you debug. Make sure you understand how many times your slot is being called. Save the image to file from newImageAvailable( ) not from the label. Debug out information about the image. Load a saved, good image in newImageAvailable( ) instead of reading it from video and send that to updateLable(). Are you re-entering the Qt event loop after you have changed the label, else you won't see it? I know nothing about this area. But I don't see any Qt method getVideoFrame( ). I don't know whether you ought be looking at QMediaCaptureSession Class for this kind of capture.
  • AI Tools Without Signup — Worth It for Qt Users?

    Unsolved
    2
    0 Votes
    2 Posts
    104 Views
    Kent-DorfmanK
    Aside from all the other valid args against embracing AI, you do understand that since AI is heavily dependent upon cloud info database, while it is free now, the marketing model is always "suck them in with freebies, get them dependent, and then charge them up the wazoo"? And for the record, I've dumped every tool that has an AI assistant in it. They just scream "data-mining!!!!"
  • Change QMenu Shortcut text color

    Unsolved
    6
    0 Votes
    6 Posts
    505 Views
    Christian EhrlicherC
    @APSH said in Change QMenu Shortcut text color: Is that not supported for customizing QMenu and it's keysequence? no - it's one text
  • QTreeWidget & jump to parent element behavior on Mac OS X vs. Linux & Windows?

    Unsolved
    20
    1 Votes
    20 Posts
    3k Views
    W
    Any news on this issue? It's still broken in Qt6.
  • how to fix the whole white widget what is in fact not ?

    Unsolved
    2
    0 Votes
    2 Posts
    187 Views
    JonBJ
    I don't know. But how do we or you know whether you are using style windowsxp or windowsvista? Simple common sense: Start by removing the if and testing once with windowsxp or windowsvista unconditionally. Does that make any difference? If yes then it's something to do with style, if not then the style is not at issue.
  • Background Image not display.

    Unsolved
    4
    0 Votes
    4 Posts
    290 Views
    B
    @Joeblack said in Background Image not display.: What did I missed? The ":" after background-image.
  • is the qdatastream thread safe or not ?

    Unsolved
    5
    0 Votes
    5 Posts
    340 Views
    nicker playerN
    In fact. I wrote the data in a new std::thread and then post the result to the qt ui main loop. Now I just used the emit way to send the data to the ui loop.
  • Qt building from source

    Unsolved
    4
    0 Votes
    4 Posts
    341 Views
    M
    I had no problem at all building and installing QT Creator port on FreeBSD 14.3 using Poudriere.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    13 Views
    No one has replied
  • Dark color scheme on Windows best practises

    Unsolved
    4
    0 Votes
    4 Posts
    474 Views
    S
    @l3u_ said in Dark color scheme on Windows best practises: I think the best approach would actually be to leave Windows 10 as-is As of Oktober this year almost nobody should be using Windows 10 anymore (though many will). Official support is ending by then and you'll be vulnerable to attacks. A few people might opt-in to extended support for a couple more months.
  • Switching between a light and dark color scheme

    Unsolved
    11
    0 Votes
    11 Posts
    977 Views
    l3u_L
    Here we are: https://bugs.kde.org/show_bug.cgi?id=509488
  • QT webengine installation

    Unsolved
    2
    0 Votes
    2 Posts
    187 Views
    AsifBahrainwalaA
    I have selected 6.9.2 , this is available with older versions (but I really don't want to go back)
  • QSoundeffect who has always worked, in the new version 6.9.2

    Unsolved
    7
    0 Votes
    7 Posts
    642 Views
    F
    This code works, however. QSoundEffect no on Kubuntu, works on Windows, but it works on Kubuntu and older versions of Qt. QMediaPlayer *p = new QMediaPlayer(); p->setLoops(2); p->setSource(QUrl::fromLocalFile("/home/tony/Code3/Qt9/MPltest/test.wav")); QAudioOutput *outPut = new QAudioOutput(); p->setAudioOutput(outPut); outPut->setVolume(100); p->play();
  • GStreamer with QT6

    Unsolved gstreamer gstreamer1.0 gst
    33
    0 Votes
    33 Posts
    8k Views
    B
    can you share the gstreamer link or pkgconfig exe
  • How to activate keyboard shortcut in QMenu

    Solved
    16
    0 Votes
    16 Posts
    5k Views
    jsulmJ
    @APSH What does your question have to do with this 5 years old topic? You should create a new one.