Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • Build dependencies

    Solved
    4
    0 Votes
    4 Posts
    369 Views
    C
    Alright, yep, that did it. In summary to use this you will need to have the following lib's installed: libqt5multimedia5-plugins libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev and you will have to have -gstreamer configured on your platform.
  • How to sort original data structure of QAbstractTableModel?

    Solved
    20
    0 Votes
    20 Posts
    3k Views
    Christian EhrlicherC
    Sorting the base model is normally much more expansive than using a QSortFilterProxyModel so it should be avoided.
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    5 Views
  • QtSql Postgress MinGW8 compilation error.

    Solved qtsql mingw
    11
    0 Votes
    11 Posts
    2k Views
    Christian EhrlicherC
    @artwaw said in QtSql Postgress MinGW8 compilation error.: I always use QtCore to avoid the plethora of single class includes. Looks like you have enough time...
  • insert QCalendarWidget into QTableView Column cells

    Solved
    7
    0 Votes
    7 Posts
    795 Views
    KaguroK
    @JonB Thanks i can handle every event in the bool QStyledItemDelegate::eventFilter(QObject *editor, QEvent *event) . Works enter key press ... calendar close and the valu set into the cells! Thanks again it works perfectly! :D
  • How to update a table's combox's display effectively??

    Unsolved
    6
    0 Votes
    6 Posts
    463 Views
    VRoninV
    I will change the data in column 2 in the function setData() of the model class. After change data, I emit a dataChanged(index, index, {role}); Could you show this part of the code?
  • QDockWidgets border distortion in Linux

    Solved
    20
    0 Votes
    20 Posts
    2k Views
    H
    The solution turned out to be simple to the point of outrage: app.setStyle(QStyleFactory::create("Fusion"));
  • How to use axis for multiple series?

    Solved
    3
    0 Votes
    3 Posts
    336 Views
    C
    @SGaist, that has solved my problem. Thank you!
  • How to reset CMake in QT Creator?

    Solved cmake
    2
    0 Votes
    2 Posts
    2k Views
    D
    I fixed this buy changing C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat with C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsx86_arm64.bat., see https://developernote.com/2021/09/how-i-fixed-cmake-configuration-has-no-path-to-c-compiler-in-qt-creator/
  • QPaintEngine - OpenGL and DirectX

    Solved
    5
    0 Votes
    5 Posts
    577 Views
    V
    @SGaist Great, thanks a lot for the information!
  • OAuth2 QOAuthHttpServerReplyHandler HTTPS/SSL support?

    Unsolved
    15
    0 Votes
    15 Posts
    4k Views
    testmonkeyT
    bump, bit of a necropost, but still an issue. @JonB said in OAuth2 QOAuthHttpServerReplyHandler HTTPS/SSL support?: @Alex94102 Here you go: https://bugreports.qt.io/browse/QTBUG-64615 any luck with getting QSslSocket bits into qoauthhttpserverreplyhandler ?? I am trying to interact with a service that has just started enforcing https for callbacks.
  • Video recording

    Unsolved qlabel videocapture video recording camera camera live
    2
    0 Votes
    2 Posts
    697 Views
    jsulmJ
    @Sai-Raul Start here: https://doc.qt.io/qt-5/videooverview.html
  • StyleSheets: How to apply individual primitive styles

    Unsolved
    3
    0 Votes
    3 Posts
    249 Views
    M
    Yep I get that, and the source does reflect that as looking deeper in the source does show that the QStyleSheetStyle is run after my own QStyle. In that case, What is the standard process for painting widgets in a style-aware fashion? Do I need to forgo the palette and take colors from custom properties instead? Are there any examples of more complex paintEvents relying solely on QStylePainter (Drawing primitive, complex and control instead of rect, line, etc)
  • Company to design style sheet for Theme

    Unsolved
    1
    0 Votes
    1 Posts
    101 Views
    No one has replied
  • QStandardItemModel: add columns to row before adding the row to the model?

    Unsolved
    3
    0 Votes
    3 Posts
    424 Views
    C
    @huppeldepup said in QStandardItemModel: add columns to row before adding the row to the model?: How do it create my row outside of the model, add my columns and only when my row is complete... add it to my model? Create a QList of QStandardItems, one per column, and then call QStandardItemModel::insertRow() with the list. I am not sure how this interacts with the protected filter functions.
  • Is Qt the good tool for me.?

    Unsolved
    10
    0 Votes
    10 Posts
    1k Views
    JonBJ
    @LudoFR said in Is Qt the good tool for me.?: if I paid almost 4000$/year for V5.15 Not sure whether you mean you have already paid that or are still thinking about it. You can always look at the free/open source version of Qt first to see if it suits your requirements, before you determine whether you need a commercial subscription if you decide to proceed.
  • How to access stylesheet properties

    Unsolved
    2
    0 Votes
    2 Posts
    349 Views
    JonBJ
    @Mr-MinimalEffort Unless you get a more knowledgeable answer: as far as I know stylesheet rules, and implementation, are a "black box" --- internal code which you cannot access.
  • 0 Votes
    6 Posts
    1k Views
    J
    Thanks for your advice. I found that I can prevent this error by directly converting it to QString in Q_ARG. The demo is like below QMetaObject::invokeMethod( /param/, /param/, Qt::QueuedConnection, Q_ARG(QString, QString::fromStdString("test")));
  • Empty values of command line options

    Solved
    2
    0 Votes
    2 Posts
    378 Views
    SGaistS
    Hi, From the documentation, you are missing the valueName parameter.
  • Problem With frameless windows Qdark Style

    Solved
    10
    0 Votes
    10 Posts
    606 Views
    faduF
    @mrjj said in Problem With frameless windows Qdark Style: FramelessWindow *framelessWindow = new FramelessWindow ; @mrjj yes it is Thank you very much for your wonderful explanation. The problem has been solved as you explained