Results 1 to 9 of 9

Thread: Qt 4.8.2 on linux

  1. #1
    Join Date
    Jul 2012
    Posts
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt 4.8.2 on linux

    Hello all,

    with the release of mint 14, I made a fresh install of the OS.

    Now, I wanted to install the Qt SDK, but some shit happened probably and a lot of hassle was on the way. I managed to install the SDK but no Creator anywhere. So I looked here and figured out I needed to install it seperatly. Then I was sick of it, and just opened the software manager, and installed Qt SDK from there. Aha, Creator was there, version 2.5.2 (august 2012) with Qt 4.8.2 under the hood.

    I opened an old project to test if everything worked, it was a 4.7.4 project but I managed to set it to use 4.8.2. Wonderfull, I ran the project and what does my eye see?

    A WIN95 GUI!!!!! What have I done to deserve this horrible thing? Is this the way Qt is heading? Only Windows compatible GUI-styles? WTF, after all those troubles I find out Qt is making my apps look like shit.

    Please just tell me that I have done something wrong and that it can be fixed. And yes, how to fix it is what I want to know.

    Thanks!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Qt 4.8.2 on linux

    LOL Yes, you have done something wrong but I have no idea what exactly. The "Win 95 GUI" thing means your program cannot find widget style plugins and uses a fallback that indeed looks like old Windows UI. I suggest you uninstall everything Qt related (unless Qt is required by your system, in this case leave the Qt runtime) and reinstall the SDK. Hopefully it will install properly this time. If not, try observing any details related to the failure, note them down and post here. Also try running the SDK maintainance tool and see whether anything obvious is missing from the installation.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jul 2012
    Posts
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.8.2 on linux

    ok then... what do you recommend that I install? The one from the software repository or direct download?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Qt 4.8.2 on linux

    I'd go for direct download but it doesn't really matter that much.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Jul 2012
    Posts
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.8.2 on linux

    Ok, I re-installed everything via direct-download and I still have the same problem.

    I scooped the internet and apparently it's qgtkstyle that can't detect my current GTK theme. Unfortunatly, I have found no answers. So my question is, on what does qgtkstyle depend on to find my current gtk theme? When I know that, I can take steps to solve the issue.

    So, any qt dev who knows this?

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Qt 4.8.2 on linux

    What happens if you run a Qt application with a "-style plastique" parameter?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Jul 2012
    Posts
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.8.2 on linux

    All other styles work. But no GTK+ substyling.

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Qt 4.8.2 on linux

    Maybe it's just a matter of configuring something in your system.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  9. #9
    Join Date
    Jul 2012
    Posts
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.8.2 on linux

    omg... apparently, when I built it first, I hadn't the dev files of gtk, installing these and recompile solved my problem. That's why noobs like me need an installer that takes care of these things.

Similar Threads

  1. Replies: 5
    Last Post: 25th April 2012, 11:34
  2. Dynamic vs. static in Linux (DLL analogs in Linux)
    By timmu in forum Installation and Deployment
    Replies: 5
    Last Post: 23rd January 2012, 14:26
  3. Replies: 0
    Last Post: 2nd November 2011, 11:32
  4. difference between source in Qt for X11/Linux Qt for Embedded Linux
    By sanjeet in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 7th June 2011, 02:58
  5. linux-ipaq-g++ Vs linux-arm-g++
    By alejo in forum Installation and Deployment
    Replies: 0
    Last Post: 22nd February 2010, 00:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.