Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.3k Topics 455.7k Posts
  • Reporting inappropriate content on the forums

    Pinned Locked spam
    29
    3 Votes
    29 Posts
    33k 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.
  • Using different project names results in different UI display speeds

    Unsolved
    3
    0 Votes
    3 Posts
    53 Views
    C
    @JonB Thank you for answering me. (a) I try to set my widget in a ScrollArea and use button to create or delete it repeatedly. The widget still shows ten times slower than using new project name. (b) I change the project name over and over again. Only a certain name cause this kind of delay. I know it doesn't make sense, but it really happened. I doubt that StyleSheet may cause this trouble. Should I breakdown my project more detail?
  • Where are the .ui files?

    Unsolved
    5
    0 Votes
    5 Posts
    84 Views
    G
    Grateful thanks for responses. Unfortunately the lengthy scavenger hunt I did resulted in no joy. Apologies for my obtuseness, but if I go File > New File or Project > Other Project > Empty qmake Project > choose and finish, can someone give me the minimum required in files/code/exact filenames to show a main form? (Creator is 6.0.2.)
  • How to visualize LF, CR and other control pictures in QTextEdit?

    Unsolved
    2
    0 Votes
    2 Posts
    41 Views
    SGaistS
    Hi, Are you replacing the font for only these characters ? If so, you could create your own format that renders them at a sensible size.
  • QTextToSpeech error in Qt 6.9.1

    Unsolved
    4
    0 Votes
    4 Posts
    73 Views
    SGaistS
    @Lab7 That can happen from time to time. What were you trying to post ?
  • How to create Bike cluster in qt

    Unsolved
    2
    0 Votes
    2 Posts
    44 Views
    jsulmJ
    @thunder What's your question?
  • Best practice for QTs parent/child memory model and clang-tidy

    Unsolved
    5
    1 Votes
    5 Posts
    184 Views
    S
    You should not change the way you write code based on a linter if the linter is wrong. However, widget should have a parent (maybe that happens when it is added to a layout). If you are using a linter, you shouldn't just turn it off entirely. So, the option that you have is to turn specific linting options off on a per line basis (https://stackoverflow.com/questions/37950439/inline-way-to-disable-clang-tidy-checks): Use NOLINT(...) on specific lines or NOLINTBEGIN(...)/NOLINTEND(...) on the whole section of code creating widgets and layouts. Make sure to just disable that one specific warning.
  • A Question About Two QTableView Share One Model

    Solved
    2
    0 Votes
    2 Posts
    47 Views
    SGaistS
    Hi, Using multiple views on top of the same model is one of the core feature of the model view paradigm. You have one single source of data and present it through different (or similar) means to the user.
  • qmake Segmentation fault on Raspberry Pi Bookworm ARM64

    Solved
    4
    0 Votes
    4 Posts
    232 Views
    D
    It is a problem with the installer's binaries they were build on Ubunto with a different libc or libstdc++ library than on Raspberry. https://bugreports.qt.io/browse/QTBUG-137145 You can build it from the sources, then it works. Install required packages sudo apt install cmake libfontconfig1-dev libdbus-1-dev libfreetype6-dev libicu-dev libinput-dev libxkbcommon-dev libsqlite3-dev libssl-dev libpng-dev libjpeg-dev libglib2.0-dev libgles2-mesa-dev libgbm-dev libdrm-dev libvulkan-dev vulkan-tools Install wayland libs sudo apt install libwayland-dev libwayland-egl1-mesa libwayland-server0 Download and extract https://download.qt.io/official_releases/qt/6.8/6.8.3/submodules/qtbase-everywhere-src-6.8.3.tar.xz, tar -xf qtbase-everywhere-src-6.8.3.tar.xz Switch to the directory where the file is extracted, make a directory for the build inside, switch into the build directory cd /path/to/qtbase-extract, mkdir ./build, cd ./build Build cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/raspifm/Qt/6.8.3-aarch64 -DQT_FEATURE_opengles2=ON -DQT_FEATURE_opengles3=ON -DQT_FEATURE_kms=ON -DQT_AVOID_CMAKE_ARCHIVING_API=ON .. cmake --build . --parallel 4 Install cmake --install . Build modules, e.g.: qtsvg, qtimageformats, qtwayland Download and extract https://download.qt.io/official_releases/qt/6.8/6.8.3/submodules/qt....tar.xz tar -xf qt....tar.xz Switch to the directory where the file is extracted, make a directory for the build inside, switch into the build directory cd /path/to/qt...-extract, mkdir ./build, cd ./build Build /home/raspifm/Qt/6.8.3-aarch64/bin/qt-configure-module .., then cmake --build . --parallel 4 Install cmake --install .
  • Segmentation fault when exiting when linked against Qt 6.9.1

    Unsolved
    30
    0 Votes
    30 Posts
    1k Views
    Axel SpoerlA
    @l3u_ Could you mark this thread as solved, please?
  • invokeMethod is messing up signatures

    Solved
    7
    0 Votes
    7 Posts
    130 Views
    ocgltdO
    That solved it. I'm not sure what happened, but something got messed up my build dir.
  • Qt and Apple 'Glass' UI in macOS 26

    Unsolved
    2
    1 Votes
    2 Posts
    181 Views
    KambizK
    @AndyBrice I'm using the latest version of Qt and macOS/iOS 26. Nothing is compatible with Qt 6.9 and everything renders in the old version style.
  • Qt: Drop-down button?

    15
    0 Votes
    15 Posts
    49k Views
    RokeJulianLockhartR
    @JonB, that's what I was looking for! Thanks.
  • QMediaPlayer with a video with audio codec mp2 (mp3float) causes major loud distortion

    Unsolved
    4
    0 Votes
    4 Posts
    225 Views
    SGaistS
    Hi and welcome to devnet, Does it happen with only a single file or are they all affected ? It there somewhere a sample file that could be used to test this issue ? Which OS are you running your application on ?
  • Qt 6.10 beta: pitchCompensation() example

    Unsolved
    4
    0 Votes
    4 Posts
    124 Views
    SGaistS
    That's how I understood the code.
  • car_interface.h missing from D-Bus Car Example

    Solved
    5
    0 Votes
    5 Posts
    198 Views
    B
    @rcx11 it uses a similar approach to gRPC/QtRemoteObjects in that the files that are compiled are generated using calls to the generators via cmake. I checked Qt6.10.0 on windows 11 and indeed, until you configure the file cannot be found: The file that generated (for reference of others reading this thread): [image: 8bfbacc8-18a1-419d-9f48-7757554d7203.png] I'd recommend marking as resolved with @Paul-Colby 's response.
  • 0 Votes
    7 Posts
    678 Views
    D
    Hello, is there any update for this issue? I'm also facing the problem that the QEnums properties are not loaded by QtDesigner
  • 0 Votes
    1 Posts
    49 Views
    No one has replied
  • In Qt6.9.1 and windows 11, QtableWidget check box is not updating in UI

    Unsolved
    7
    0 Votes
    7 Posts
    202 Views
    Christian EhrlicherC
    It works fine for me with Qt6.9.1 with the windows11 style: int main(int argc, char *argv[]) { QApplication app(argc, argv); QTableWidget tw; tw.setRowCount(5); tw.setColumnCount(1); auto item = new QTableWidgetItem("Item"); tw.setItem(0, 0, item); QTimer::singleShot(2000, &tw, [&]() { tw.item(0, 0)->setCheckState(Qt::Checked); }); tw.show(); return app.exec(); } Please provide a minimal, compilable example of your problem.
  • Error while building the qt src Code

    Solved
    6
    0 Votes
    6 Posts
    137 Views
    SGaistS
    @SuhasKrishanamurthy hi, Since you marked your thread as solved, can you share what you did / change to fix the situation ? It might help other people.