Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.5k Topics 457.3k Posts
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    20 Views
  • 0 Votes
    19 Posts
    5k Views
    R
    Thanks for the insights, by the way I ain't using Ubuntu-supplied Qt5 , i installed separately but not from link. I will try to add wayland plugins and see it works.
  • Updating application icons for macOS 26 Tahoe and Liquid Glass

    Solved
    1
    2 Votes
    1 Posts
    104 Views
    No one has replied
  • ld: framework 'AGL' not found on macOS Tahoe

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    AndyBriceA
    Can confirm that I had the same issue and compiling in Qt 6.8.4 fixed it. Thanks.
  • How to read MP3 Tags Using QT

    4
    0 Votes
    4 Posts
    5k Views
    Esmaeil_SooanE
    Hi, You can also check out this library: 👉 QAudioTagReader It’s a Qt-friendly wrapper around TagLib for exporting audio tags.
  • Memory leaks in 6.9.1 that weren't there in 6.9.0

    Solved
    13
    1 Votes
    13 Posts
    583 Views
    PerdrixP
    I accept that this isn't Qt !
  • Failed to find required Qt component "WebEngineWidgets" on windows visual studio

    Unsolved
    3
    0 Votes
    3 Posts
    257 Views
    H
    @sidthatsme Yes I was on Qt 6.9.1 as screenshot shows. I installed WebEngineWidgets through maintenance tool
  • Issue with Qt6 QML Module Target Path and CMake Warning

    Unsolved
    4
    0 Votes
    4 Posts
    359 Views
    JKSHJ
    @Yaldiz said in Issue with Qt6 QML Module Target Path and CMake Warning: How can I resolve this warning and make sure the OUTPUT_DIRECTORY ends in the same path as the QML target path? By ensuring that your source files' path matches the URI. For example, if the URI is Telemetor.Controls then the source path should be like ${CMAKE_SOURCE_DIR}/Telemotor/Controls/TMenuBar.qml Why is import Telemetor.Controls not being recognized by Qt Creator, even though the code works fine at runtime? Because the runtime engine loads the modules from the resource files that are embedded inside your executable -- these have the correct paths. However, Qt Creator cannot see the files that are embedded inside your executable, so it must load them from disk. So if you get the warning that OUTPUT_DIRECTORY doesn't match the target path, that means Qt Creator won't be able to find the files at the expected paths on disk.
  • Can't build Webengine from source

    Unsolved
    4
    0 Votes
    4 Posts
    298 Views
    J
    I've tried all possible way, surpressed most errors regarding missing depencies But these were unbeatable, fixed by setting flags /home/j/Desktop/tmp/qt-everywhere-src-6.2.4/configure -skip qtwebengine -skip qtwebsockets -no-feature-translation CMAKE_PREFIX_PATH LLVM_INSTALL_DIR QDoc
  • macOS supported versions

    Solved
    8
    1 Votes
    8 Posts
    255 Views
    R
    @SimonSchroeder said in macOS supported versions: I'm not sure what the SDK actually includes. It might be that even the C and C++ runtime libraries are included in the SDK. At least GTK+ will use something from the SDK (just as Qt does). It is very likely that you need to recompile everything. I think you are right. Also found this thread on StackOverflow, and the accepted answer says: if you build any other libraries that you include in your application bundle, make sure they're also compiled for backwards compatibility! In case it helps with any libraries, there's an equivalent CMake command as well, CMAKE_OSX_DEPLOYMENT TARGET. Marking this as solved again.
  • Threads stopping once the funciton ends

    Solved
    10
    0 Votes
    10 Posts
    307 Views
    J
    @SGaist Thank you. I really appreciate all info. Have a nice day.
  • 0 Votes
    4 Posts
    140 Views
    jsulmJ
    @GyroPower Just create your render thread before you call Qt_wb_app_manager.exec();
  • Cant compile kmap2qmap from source

    Unsolved
    2
    0 Votes
    2 Posts
    135 Views
    joborJ
    I've concocted a build fix here: https://codereview.qt-project.org/c/qt/qttools/+/679417 This tool fell through the cracks, and (almost) nobody seemed to miss it...
  • A Beginner’s Question

    Unsolved
    3
    0 Votes
    3 Posts
    129 Views
    A
    @jobor thanks for your answer,Yesterday I looked up some more information. For host-computer programs and similar applications, isn’t the common practice to write methods in C++ classes, register them to QML, and then call these classes during runtime? Qt comes with many sample projects, and from what I’ve seen, quite a few follow this approach. However, what I urgently need right now is a complete project with sufficient backend logic to study.
  • Questions about building Qt 6 from source, problems retrieving the source code

    Solved
    9
    0 Votes
    9 Posts
    340 Views
    rubisetcieR
    @jobor I see, this is really weird then... :| I'm on Debian 13, but I'm kinda relieved that neither init-repository and configure are deprecated. :) Actually I'm doing a shallow Git clone (git clone --depth 1 --branch v6.9.2 git://code.qt.io/qt/qt5.git qt6)... do you think it could be related to my problem?
  • Tips to make QSerialPort task more optimal

    Unsolved
    3
    0 Votes
    3 Posts
    270 Views
    Kent-DorfmanK
    I wonder if OP has done the math to determine the aggregate bandwidth needed to do "serial uart concentrator" over ten high speed UARTs and has made sure their equipment is beefy enough. I mean I don't care if they are multiplexing over a USB channel. UARTS are still an interrupt-per-char device. If anything, a USB wrapper adds more overhead. and flow control? what's that?
  • Using QtCharts in a Pyside6 Application

    Unsolved
    1
    0 Votes
    1 Posts
    76 Views
    No one has replied
  • How can I prevent a QTextTable row being split over page breaks?

    Unsolved
    8
    1 Votes
    8 Posts
    1k Views
    D
    I solved the problem with the text on the page break, in general, you can not put vertical-align:middle or QTextCharFormat::AlignMiddle for the table cell, the engine breaks the cell and thinks that according to the rules, the text should be placed in the middle of the table, and places it on the page break Most likely a bug
  • Are you kidding? You have to install Xcode in order to install Qt?

    Solved
    8
    0 Votes
    8 Posts
    3k Views
    A
    Hi, I need help following the instructions mrjj provided. Specifically step 3. Is anyone willing to help?
  • How to change the appearance of QPushButton

    Unsolved
    2
    0 Votes
    2 Posts
    121 Views
    Pl45m4P
    @Blackzero https://doc.qt.io/qt-6/qpainter.html#drawPath :)