Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.5k Posts
  • QLowEnergyService::characteristicChanged is not emitted

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    J
    @pman22,I had the same problem on Windows. but i can't read value by QLowEnergyService::readCharacteristic(QLowEnergyChar&), do you finaly fix this question.
  • 0 Votes
    5 Posts
    802 Views
    S
    @JonB Ok ok but back to the transforms i really get problems with the rectangle shifting when the "setOrigin" changes on the fly. So for example i scale with origin in topleft and scale afterwards with changed origin to topright the item is nudged slightly. I will prepare a minimal reproducable example, but maybe you have an idea just out of the description. Edit: And of course big thanks for taking the time.
  • Understand why a row is not submitted

    Unsolved
    7
    0 Votes
    7 Posts
    729 Views
    JonBJ
    @Mark81 I am guessing that OnRowChange gets activated on QTableView::currentChanged()? Or maybe not. I don't know exactly what happens on Enter or why you find it differs between a new row versus an existing row, if that is what it does. You may need to handle the Enter key directly, e.g. https://pohlondrej.com/qtableview-excel-like-editing//
  • Qt 6 source folder too big after build

    Unsolved
    4
    0 Votes
    4 Posts
    439 Views
    SGaistS
    Literally: builds that happen out of the source tree.
  • Could not load the Qt platform plugin "xcb" in "" even though it was found."

    Solved
    12
    0 Votes
    12 Posts
    35k Views
    S
    Leaving a comment here because this was a top result when I had the exact error. In my case, I had pip installed opencv, and that pip-installed version had conflicts with the system qt. Steps that ultimately resolved the problem are here on Stack Overflow.
  • 0 Votes
    4 Posts
    296 Views
    SGaistS
    That was not my question. Do you have the same issue if you do not have have a QVideoWidget in the stack ? You should also share the implementation of ImageView.
  • 0 Votes
    2 Posts
    256 Views
    SGaistS
    Hi and welcome to devnet, What happens if you use OpenGL for the viewport ? One thing to keep in mind is 5.12 is obsolete and the HighDPI support has greatly improved since then. Can you try with 5.15 to check if it goes better with that version since Qt 6 is only for next year ?
  • QMediaPlayer jittery in PyQt6. FFmpeg "surface pool size" warnings.

    Unsolved qmediaplayer ffmpeg
    7
    0 Votes
    7 Posts
    1k Views
    D
    Fantastic, thank you. I'm going to take time to get my head around that example and see what I can come out with
  • QSqlRelationalDelegate does not work on first show

    Unsolved
    5
    0 Votes
    5 Posts
    353 Views
    M
    @JonB actually, it seems it works... the problem is in the column names. I said it "messed up" the names. But at a closer look, it appends the displayColumn and indexColumn. I didn't see this behavior in the pictures in the docs so I assumed I did something wrong. Let me to test it a bit more to understand if it is working correctly.
  • 0 Votes
    11 Posts
    948 Views
    S
    @SGaist Actually the same code is working fine after first click on controls widget. Before click, setFullScreen(true) did not work fine. That is very amazing thing. m_videoWidget->isFullScreen() returns true, but in reality, it is not fullscreen when app started. How can I programmatically achieve user interaction behaviour? I called activateWindow in MediaPlayer constructor, but still no luck. Any idea?
  • Windows 11 option to autohide TaskBar hides my application StatusBar

    Solved
    3
    0 Votes
    3 Posts
    285 Views
    GilboonetG
    @jsulm You're right, when the TaskBar is hidden, then the option to hide/show it works correctly. Thank you. This Windows 11 TaskBar is not their best thing, I wanted to make it vertical and they removed the option for that.
  • 0 Votes
    1 Posts
    216 Views
    No one has replied
  • Include Header xxxxx.h is not used directly

    Unsolved c++
    15
    1 Votes
    15 Posts
    24k Views
    Christian EhrlicherC
    @osirisgothra this is a last warning - stop reviving old posts.
  • QLabel won't expand enough vertically

    Unsolved python qlabel
    3
    0 Votes
    3 Posts
    547 Views
    K
    But the window does get resized when using more text, below is a demonstration of the same window being rendered with different amounts of text in the label [image: 020ed5ed-ec29-461f-a0c6-dcadc6b44171.png] The text does resize the window dynamically but does it to a wrong size
  • 0 Votes
    4 Posts
    285 Views
    SGaistS
    You can create a feature request on the bug report system explaining your use case.
  • Can qwidget show on top of anoter app when that app is in fullscreen mode on Mac OS?

    Unsolved
    14
    0 Votes
    14 Posts
    2k Views
    R
    Hi all, Any help with this issue?
  • I cannot expand the right side menu, How Can I Expand it

    Unsolved
    2
    0 Votes
    2 Posts
    197 Views
    SGaistS
    Hi and welcome to devnet, Which version of PyQt/PySide are you using ? On which OS ? You seem to have several custom widgets in there. Please provide a minimal script that allows to reproduce your issue.
  • 0 Votes
    13 Posts
    2k Views
    Pl45m4P
    @Mark81 said in Catch mouse click on dummy row for QTabelView (returned by proxy but not in real model): That's odd, are we seeing the same repo? Yes, definitely. Now I see 31 open, 28 closed (same as @JonB , still no #62) [image: 4b38ff30-5a3c-44a7-a03a-54cc667b3513.png] Sorry I couldn't resist: The movie scene should be well-known :)) [image: 7e1c7a0f-cbdf-49e7-a4dc-f8df2ffaecbc.jpg]
  • QObject::event() return value vs. QEvent::setAccepted()

    7
    0 Votes
    7 Posts
    5k Views
    Pl45m4P
    @polo2024 said in QObject::event() return value vs. QEvent::setAccepted(): the link now is https://doc.qt.io/archives/qq/qq11-events.html So you came here because a link in an ancient topic, over 10 years old, is not valid anymore and you thought the OPs must see the "new" link right now?! (which leads to an archive anyway) Interesting.
  • timerEvent response overtime

    Unsolved
    6
    0 Votes
    6 Posts
    524 Views
    Pl45m4P
    @wang1209 https://learn.microsoft.com/en-us/windows-hardware/drivers/kernel/high-resolution-timers#controlling-timer-accuracy You can't rely on Windows timer precision in exact milliseconds. Don't know how Qt's "precise" timer is implemented and what it does to the OS (i.e. Windows)... as @JonB and @Christian-Ehrlicher say above, for very time sensitive tasks, an RTOS such as QNX or ROS is more suited... but all depends on your use case.