Score:0

Qt 5.9.5 apps stopped show window content in 18.04

us flag
Ari

I had to install Xubuntu 18.04 because of one camera kernel driver, which refuse to operate in 20.04 kernel. Then I installed qt5-default and qtcreator (version 5.9.5). Camera application was originally developed a newer Qt version, but compiled and worked fine with 5.9.5. Then I added radar application and the same happens, everything worked. But then I added GPS application. I had to add qserialport library to the system. And suddenly all applications refuse to open/show MainWindow. If I add mainWindow->show() only the frame appears. But if I create clean desktop application via new project, it can show mainWindow with grey background. There are no error messages in qtcreator. In .xsession-errors there are something about gtk cant set parent for child. Obviously the problem is showing the widgets inside the widget, but I don't know how to fix this. Any suggestions what should I do. I seems that Qt binaries from the Qt are not working in 18.04 due some library incompatibilities. Thats why I am using qt-default.

guiverc avatar
cn flag
Ubuntu 18.04 LTS using the HWE kernels tack is using the same GA kernel as found in Ubuntu 20.04 LTS; so your details (*20.04 kernel*) are incomplete; Ubuntu LTS releases offer two kernel stack choices (and that doesn't include OEM kernels either). Qt & Xfce are EOL in 18.04, as *flavors* come with only 3 years of support (`ubuntu-support-status` will confirm that) so much of the Qt stack on 18.04 is very outdated. I'd have opted for using 20.04 with a different kernel stack. Maybe helpful - https://wiki.ubuntu.com/Kernel/LTSEnablementStack *but note it concentrates on Ubuntu Desktop*
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.