Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.5k Topics 457.3k Posts
  • Compiler Flags in SUBDIR

    Solved
    3
    0 Votes
    3 Posts
    198 Views
    R
    @jsulm Thanks! In MakeFile we see -O2 -MD CXXFLAGS = -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -permissive- -Zc:__cplusplus -Zc:externConstexpr -O2 -MD -std:c++17 -utf-8 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc $(DEFINES)
  • 0 Votes
    8 Posts
    852 Views
    Q
    @ChrisW67 If you overlay a transparent widget on top of the MPVWidget, you will notice that you see the background color of the MVPWidget instead of the video. I believe this is for the same reason as the immediate display of the video's background when using hide(). [image: 48735235-13b2-4d75-a8ec-88e575a81d3d.png] [image: 7d5439dc-94b3-4a73-9dfa-08269b744cba.png]
  • QML- Datetime conversion to different timezones

    Unsolved
    1
    1 Votes
    1 Posts
    190 Views
    No one has replied
  • QSS issue about QComboBox

    Solved
    7
    0 Votes
    7 Posts
    454 Views
    S
    @sierdzio OK, thanks again. I will mark this question solved.
  • Changes are not shown

    Unsolved
    2
    0 Votes
    2 Posts
    142 Views
    jsulmJ
    @Kronam Usually it should work. Try rebuild instead of build.
  • Qt Application Plugins with the same interface

    Unsolved
    12
    0 Votes
    12 Posts
    752 Views
    W
    @SamiV123 this is a very good point. I will consider avoiding plugins at all costs. Maybe it is a better idea to forget about the launcher application and just make separate applications.
  • This topic is deleted!

    Solved
    2
    0 Votes
    2 Posts
    20 Views
  • QOpenGLWidget doesn't work with QQuickWidget

    Solved
    3
    1 Votes
    3 Posts
    1k Views
    ?
    @Ioneater Thank you for your information. I just created dummy QQuickWindow and called setGraphicsApi as you suggested. By calling graphicsApi before creating the first QQuickWidget, my problem has been solved. I also found a straightforward method not using dummy QQuickWindow by setting the QSG_RHI_BACKEND environment variable. Have a nice day.
  • QThread signal-slot or zeromq is better for multiply connection to same Thread

    Unsolved
    4
    0 Votes
    4 Posts
    395 Views
    SGaistS
    @RahibeMeryem said in QThread signal-slot or zeromq is better for multiply connection to same Thread: @SGaist 25 fps two stream and 2Mp mp4 What exactly does that mean ? You seem to have more that two streams. Also, what are the properties of these streams and what are you using to read them in your Qt application ? Somehow signal slots mechanism looks stuck.. I can post full cod eif you needed No, if anything post a minimal compilable application that shows the behaviour.
  • Could not load the Qt platform plugin "xcb

    Unsolved
    4
    0 Votes
    4 Posts
    13k Views
    L
    @Stecco Thanks stecco, I was unable to run the latest versions of qtcreator and after running your suggestion (sudo apt-get install -qq libglu1-mesa-dev libx11-xcb-dev '^libxcb*') everything got solved.
  • This topic is deleted!

    Unsolved
    7
    0 Votes
    7 Posts
    40 Views
  • This topic is deleted!

    Unsolved
    4
    0 Votes
    4 Posts
    17 Views
  • Request help

    Unsolved
    4
    0 Votes
    4 Posts
    239 Views
    JonBJ
    @Pl45m4 said in Request help: I do, :)
  • A question about connect funtion

    Unsolved
    5
    0 Votes
    5 Posts
    337 Views
    JonBJ
    @Saymyname So your case would become: connect(this, &MyClass::fooSig, this, &MyClass::fooSlot); Don't you think this is nicer? It is also checked at compile time, so you will get a compilation error if the signal or slot does not exist or does not take the right arguments.
  • Two colors of the QLineSeries

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    V
    @jsulm can you help me to solve this: https://forum.qt.io/topic/150794/qml-graph-glitch
  • Hints about HTTP REST service vs database

    Unsolved
    9
    0 Votes
    9 Posts
    437 Views
    N
    For your setup involving a Qt application and a PHP web page, using a database seems like the smoother path. Your web page can retrieve data as needed, while you maintain data consistency by syncing the database with your QList in the Qt app. This way, both your Qt app and web page stay on the same page with the data.
  • Detect a database error before executing a query

    Unsolved
    8
    0 Votes
    8 Posts
    1k Views
    M
    @JonB I saw that thread, but here I'm not using an explicit query. I'm using the QSqlTableModel - not sure if I can change something here (i.e. call QSqlQuery::exec() with a pre-built string instead of using QSqlQuery::prepare()). How to investigate on MySQL side? I checked /var/log/mysql/error.log but there are no entries. How to exclude it does not depend on my Qt code?
  • QVideoFrame conversion to QImage seems to corrupt my image

    Unsolved qvideosink qimage video frame
    2
    0 Votes
    2 Posts
    622 Views
    jsulmJ
    @friendlyQtBeginner I guess you should connect to videoFrameChanged() signal as described in documentation to make sure there actually is a frame when you call videoFrame: "QVideoSink will provide individual video frames to the application developer through the videoFrameChanged() signal." You can also call https://doc.qt.io/qt-6/qvideoframe.html#isValid to check whether you got a valid frame.
  • Qt app does not call terminal if call program from executable (application/x-executable

    Unsolved
    3
    0 Votes
    3 Posts
    218 Views
    Pl45m4P
    @JacobNovitsky I'm just guessing that this is what you are looking for: QProcess and start the terminal with your OS specific command (you didn't mention your OS)
  • How to locate moc files relate to MainWindow and other UI

    Unsolved
    2
    0 Votes
    2 Posts
    151 Views
    Christian EhrlicherC
    They are somewhere inside the build folder - no need to know the location exactly since cmake is doing the correct things.