Add setTitle and title to QWindow#1062
Add setTitle and title to QWindow#1062SleepyTealCoder wants to merge 4 commits intonodegui:masterfrom
Conversation
SleepyTealCoder
commented
Jan 12, 2025
- Added setTitle, title functions and windowTitleChanged signal to QWindow. (https://doc.qt.io/qt-6/qwindow.html#title-prop)
- Removed use of QApplication in WrapperCache tests as calling quit ends running of the tests - all tests in WrapperCache still pass with it removed.
Causing early exits of test runs
|
Hello. Apologies for the radio silence on my end. I've noticed that the unit tests for Ubuntu 20.04 aren't running at the moment. Would be it worthwhile for me to look at why it isn't working on my end or if there's a potentially easy solution we can try? |
|
Sure, have a look at it. I suspect it is a dependency missing from the Ubuntu image. It would have to installed. I vaguely remember someone pointing out that some other X11 related package is needed sometimes. |
ec59e86 to
84ad837
Compare
… workflow under Ubuntu 20.04 Packages added: libxcb-icccm4 libxcb-shape0 libxkbcommon-x11-0 libxcblibxcb-xkb1 libxcb-cursor0 libxcb-keysyms1
84ad837 to
37cc3a9
Compare
|
Prior to approving the changed workflow some notes:
As an alternative to the above we can set the environment variable QT_QPA_PLATFORM to offscreen in the Run tests step - this does work although it does complain about certain functions/features not being implemented. Any further thoughts on the workflow changes? |