Linux Mint 17 Cinnamon qt creator 5.3.1 crashes



  • I've installed qt creator 5.3.1 64 bit on Linux Mint 17 CInnamon 64 bit. The program runs but is unresponsive. This is LM 17 as a Linux guest in VirtualBox 4.3.12 using the 4.3.13 Guest Additions on a Windows 7 Home Premium SP1 64 bit host. Any input would be welcome.



  • I am running that version of Qt on Linux Mint 17 KDE (not virtual) and it works very well, but I run it alot, runing it in virtual machine and on physical machine, with this and previous version of Linux Mint and Qt, without any problems.

    What hardware are you running the virual machine on (which processor, how much RAM) and what are passing onto the virtual machine?

    Within VirtualBox you can change the number of processor and amount of RAM, but you need those to be physically availabled.

    I tend to run 32bit Virtual Machines on my 64bit machines and OS.



  • Qt Creator 5.1.1 works perfect in my virtual machines, both 32 & 64 bit. But 5.3.1 doesn't work. I also tried Qt Creator 5.2.1 in both my virtual machines and had problems. Maybe it's my host video driver, which I just updated. I don't think it has anything to do with processors. Like I said, 5.1.1 works perfectly well. Maybe something to do with the mesa dependencies installed on the virtual machines. Or some other dependency that the newer versions of Qt Creator uses. Thanks for the reply.


  • Lifetime Qt Champion

    Hi,

    Something to try: disable the welcome screen plugin before starting Qt Creator



  • How do you do that?


  • Lifetime Qt Champion

    add

    @-noload Welcome@

    when calling Qt Creator from the command line.



  • I disabled 3D acceleration for the virtual machines in VirtualBox and the problems disappeared. The video is slower but it's workable. Must be a conflict with my host system video driver and VirtualBox 3D acceleration. I alspo added a virtual machine of Linux Mint 17 Xfce 32 bit and the same conditions applied to it. I don't know if it could be also something to do with Linux Mint, along with my host system video driver and 3D acceleration.



  • I re-enabled 3D acceleration and tried the -noload Welcome option and the problem disappeared. Must be a Qt problem. How do I post a bug report, if it hasn't been reported already. If it has, can you post a link to it?




  • Moderators

    It's a more general problem of VirtualBox OpenGL drivers. It tends to flash, flicker and crash occasionally. It is also problematic with resizing the VM window. Qt Creator welcome screen uses QML which uses OpenGL so it shows there. Try to run any other OpenGL app and see what happens.

    The issue you commented is closed, but there's another one more recent and still opened "QTBUG-34964":https://bugreports.qt-project.org/browse/QTBUG-34964
    I don't think that there's much Qt can do about it. Maybe a workaround here and there but you should spam Oracle to fix their OpenGL support.



  • Thanks. I posted a comment there at that Qt bug report. Will try Oracle next.



  • Question: Why does Qt Creator 5.1.1 have no problems in VirtualBox, but 5.2.1 and 5.3.1 do? There must have been changes to the Qt code to affect this problem, must not there? Maybe Qt could use a different uses of video drivers for their Welcome screen?


  • Moderators

    There's no such thing (yet) as Qt Creator 5.1.1. Current release is Qt Creator 3.1.2.
    Each Qt release has a bundle package that piggy-backs a certain release of Qt Creator. At some point(I think it was 3.0?) they changed the welcome screen from widget based to a QtQuick one, and as I said QML uses OpenGL, widgets don't. If memory serves the release of Qt Creator 3.0 was somewhere around the release of Qt 5.2 so...



  • Update: For Linux Mint 17 Cinnamon I was using the VirtualBox 4.3.13 Guest Additions because it fixed another problem. Once I re-installed the original 4.3.12 Guest Additions the problems went away in Linux Mint 17 Cinnamon. This fixed the video problems I was having in both Linux Mint 17 Cinnamon & Xfce, both 32 & 64 bit in VirtualBox 4.3.12


  • Moderators

    [quote author="te777" date="1405438564"]Question: Why does Qt Creator 5.1.1 have no problems in VirtualBox, but 5.2.1 and 5.3.1 do? There must have been changes to the Qt code to affect this problem, must not there? [/quote]Qt 5.1 was released with Qt Creator 2.8, which did not have that Welcome screen.

    The Welcome screen was added in Qt Creator 3.0, which was released with Qt 5.2.

    [quote author="te777" date="1405438564"]Maybe Qt could use a different uses of video drivers for their Welcome screen?[/quote]The Welcome screen is a Qt Quick (QML) UI, which uses OpenGL. All Qt Quick code is rendered using OpenGL 2.0 or higher.

    The user (and platform) needs to supply the desired OpenGL drivers.


  • Moderators

    [quote author="SGaist" date="1405409698"]add

    @-noload Welcome@

    when calling Qt Creator from the command line.
    [/quote]For future reference, you can do this through the Qt Creator GUI too. Go to "Help" -> "About Plugins..." and deselect "Qt Creator" -> "Welcome"


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.