Suddenly, QM 5.0.1 does not start any more on my Ubuntu 16.04. I get the following errors: .qp/qm/bin/qm.sh QXcbConnection: XCB error: 2 (BadValue), sequence: 397, resource id: 0, major code: 1 (CreateWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 398, resource id: 121634820, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 399, resource id: 121634820, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection:...
Findings are here: https://sourceforge.net/p/qpc/bugs/299/
I didn't miss the Qt libraries in the bin folder. But my question was: how to make QM use these particular libraries instead of some other that are present on my system. I think I found the root cause of my problem: this issue and then the assert appeared after I interchanged the HDMI cables of my two monitors. Apparently, Qt had trouble showing the QM window on the "other" monitor (physically the same but via the other cable) - it can still run only on one of them, crashing on another. I suppose...
Hi and thanks for quick response. Yes, qmake --version returns QMake version 3.1 Using Qt version 5.11.1 in /opt/qt511/lib on my system, if this is the right way to check it. However, "Help | About Qt" in QM reports the same version - see attachment (I am supposing here that this shows the version that QM expects and not the one that it finds at runtime - correct me if I am wrong). I am using QM from qp-linux_6.9.3.zip package. I also tried to change the qtchooser configuration to point to Qt 4.8.7...
Hi and thanks for quick response. Yes, qmake --version returns QMake version 3.1 Using Qt version 5.11.1 in /opt/qt511/lib on my system, if this is the right way to check it. However, "Help | About Qt" in QM reports the same version - see attachment. I am using QM from qp-linux_6.9.3.zip package. I also tried to change the qtchooser configuration to point to Qt 4.8.7 and then to Qt 5.5.1 that were also found on my system but I always get the assert. When you say These Qt libraries are distributed...
QM asserts on opening project
QM asserts on opening project
In the meantime, I found a solution: 1 cd /usr/lib/x86_64-linux-gnu sudo mv libQt5PrintSupport.so.5 libQt5PrintSupport.so.5_orig sudo mv libQt5Svg.so.5 libQt5Svg.so.5_orig sudo ln -s /opt/qt511/lib/libQt5PrintSupport.so.5 libQt5PrintSupport.so.5 sudo ln -s /opt/qt511/lib/libQt5Svg.so.5 libQt5Svg.so.5 2 Run qm/bin/qm instead of qm/bin/qm.sh