Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.6k Posts
  • Issue facing during compilation of static environment

    Unsolved
    3
    0 Votes
    3 Posts
    246 Views
    jsulmJ
    @programmer_123 said in Issue facing during compilation of static environment: After adding -no -opengl (or) -no -egl flag in the configuration Did you do that from a clean state (without previous configure/build artefacts)?
  • Will Qt expand on the HTML4 subset that is supported for rich text?

    Unsolved
    2
    0 Votes
    2 Posts
    165 Views
    Christian EhrlicherC
    @ChiefyChief said in Will Qt expand on the HTML4 subset that is supported for rich text?: Does anyone know why Qt limits to only a subset of Html4 within rich text components? Does anyone know if Qt will be upgrading / expanding to Html5 within rich text components? You should ask the mailing list. This is a user-driven forum.
  • macOS 14 Sonoma save file dialog not showing, not even in Qt Creator

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    M
    @Mark-Malson ...and it works today, dialogs within my app, Qt Creator, everything. I'm starting to think that macOS 14 is the culprit. I've had other problems, such as the System Settings app just not showing at all.
  • QMainWindow does not receive mouse events in Linux/Wayland env

    Solved
    5
    0 Votes
    5 Posts
    585 Views
    A
    @Asperamanca Solved by passing command line argument "-platform xcb"
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    16 Views
    No one has replied
  • 0 Votes
    6 Posts
    667 Views
    J.HilkJ
    this connect(zero, &QPushButton::clicked, this, []() { toZero(); }) should fail to compile, is toZero a free floating function ?
  • How to automatically reconnect to QtOpcUa server after disconnection

    Unsolved
    1
    0 Votes
    1 Posts
    185 Views
    No one has replied
  • Qt3D - Video Texture

    Unsolved
    2
    0 Votes
    2 Posts
    530 Views
    D
    @IntenseDejavu Any solution for this? I'm in the same problem. But every "solution" I find isn't suported in QT 5.15. Or need a QUrl. But I also need to simulate a video with Cv:Mat
  • Printing a grid and 2 tables in a QPdfWriter

    Unsolved
    1
    0 Votes
    1 Posts
    251 Views
    No one has replied
  • inheriting QScrollArea

    Unsolved
    3
    0 Votes
    3 Posts
    260 Views
    1
    @ChrisW67 Hi. I'm trying to create a web site, but nevermind, i figured out what was my problem.. i designed my page with Designer and check C++ code. Thanks anyway.
  • Qt 6 Clang missing frameworks on Mac ARM

    Solved qt6 mac os c++ qt6
    4
    0 Votes
    4 Posts
    1k Views
    L
    Turns out I was using an old version of crashpad that was explicitly adding in those old libs in the .pri file.
  • Q3DBars :diffferent colors with different height

    Unsolved
    1
    0 Votes
    1 Posts
    139 Views
    No one has replied
  • macOS 14 Sonoma save file dialog not showing

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    M
    I have this same problem and open/save dialogs don't work at all, and there's nothing wrong with my Info.plist file. I downloaded and installed from the online installer today (I was using 6.5.0, now 6.5.3). I tried to build the examples and open/save dialogs don't work, even in Qt Creator!
  • Proper way to delete QOpcUaClient object

    Solved
    2
    0 Votes
    2 Posts
    154 Views
    SGaistS
    Hi, Signal/Slot disconnection should happen automatically upon deletion so there's no need to do that. Other than that, it looks good.
  • How modify the Q3DBars with multiple color bars?

    Unsolved
    3
    1 Votes
    3 Posts
    419 Views
    R
    @f-lerdino if you want something like this: [image: 4afb1704-e915-4837-a6c0-9996c7bdd402.png] there is code: QGuiApplication app (argc, argv); Q3DBars bars; bars.resize (800, 800); // Remove the frame for a borderless window bars.setFlags (bars.flags () ^ Qt::FramelessWindowHint); bars.rowAxis ()->setRange (0, 4); bars.columnAxis ()->setRange (0, 4); QBar3DSeries* series = new QBar3DSeries; // Set the color style for the series to ColorStyleRangeGradient series->setColorStyle (Q3DTheme::ColorStyleRangeGradient); // Define colors for the color style range gradient QLinearGradient gradient; gradient.setColorAt (0.0, Qt::green); gradient.setColorAt (0.5, Qt::yellow); gradient.setColorAt (1.0, Qt::red); // Create a data proxy for the series QBarDataProxy* dataProxy = new QBarDataProxy; // Create data items with values QBarDataRow* dataRow = new QBarDataRow; for (int i = 0; i < 5; ++i) { dataRow->append (QBarDataItem (1.0f * 0.1 * i)); } // Assign color style range gradient to the data proxy //dataProxy->setColorStyle (gradient); // Add data row to the data proxy dataProxy->addRow (dataRow); // Set data proxy for the series series->setDataProxy (dataProxy); series->setBaseGradient (gradient); bars.addSeries (series); bars.show (); return app.exec (); } the key is "series->setColorStyle (Q3DTheme::ColorStyleRangeGradient);"
  • QSqlQueryModel - and fetchMore?

    Unsolved
    10
    0 Votes
    10 Posts
    2k Views
    Christian EhrlicherC
    QSqlQueryModel::fetchMore() is not used for database drivers returning the query size like postgresql does. Therefore it's not called / called but does nothing because the size (bottom) is already known. QSqlQueryModel::data() calls QSqlQuery::seek() to get the data from the correct row. This also means that the underlying driver might already transferred all the data from the server to the client at this time (which is what the op sees). there is no way to tell the driver to do a lazy fetch (at least I'm not aware of a way for postgresql) except a forward-only query which is not what you want here. Therefore you have to implement the paging by yourself.
  • Problem with a progress dialog with 6.5.3

    Unsolved
    3
    0 Votes
    3 Posts
    193 Views
    PerdrixP
    @JonB I will ask the developer who looks after that progress control to see if he can provide one.
  • Unresolved external symbol with Qt6

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    L
    @ChrisW67 Looks like the conan package is broken. I had to explicitly link with a dcomp.lib windows library, but that fixed it. Did a search in the windows docs for the missing symbol and just copy and pasted its static lib. Whether or not this runs is a different story: target_link_libraries(QtGUIImpl CONAN_PKG::qt Dcomp.lib)
  • Colour differences in a group box on Windows

    Unsolved
    10
    0 Votes
    10 Posts
    570 Views
    PerdrixP
    @Christian-Ehrlicher Err no, it could still be a Qt problem that I can't work out how to create a small test case for...
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    15 Views
    No one has replied