Results 1 to 6 of 6

Thread: Qt/X11 source-distro apps corrupting KDE Desktop background

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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/X11 source-distro apps corrupting KDE Desktop background

    Which KDE4 release you're using? By the way, can't you just compile MySql driver from Qt 4.4 against Qt 4.5? It should work just fine.
    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.


  2. #2
    Join Date
    Mar 2009
    Posts
    19
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt/X11 source-distro apps corrupting KDE Desktop background

    I hadn't thought of trying to use a source-compiled 4.4 MySQL driver with the rpm-installed 4.5.1. I suspect it might work but I'm unsure how to do it. I'd prefer to stay within a single version, though, as I deliver everything to my customer as is required for a complete source-up build (and I don't want to complicate support matters).

    yum list installed reports the following for kdebase:
    kdebase.i586 6:4.2.4-2.fc11


    I am puzzled about the behavior of the source-built Qt's. I've built using Qt source distros many times in the past and never encountered this problem. My ./configure options for X11 seem right to me.

    BE

  3. #3
    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/X11 source-distro apps corrupting KDE Desktop background

    KDE 4.2 doesn't work fell with pre-Qt4.5 installations, as far as I remember.

    But I'd suggest solving the MySQL problem or building the older driver against a newer library. I'd even try deploying older binary driver into newer Qt installation, there is a high chance it will work regardless of different Qt releases.
    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.


  4. #4
    Join Date
    Mar 2009
    Posts
    19
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt/X11 source-distro apps corrupting KDE Desktop background

    I seem to recall reading that 4.4 and 4.5 are source/binary compatible. I just rebuilt 4.4.3 to re-test one more time (display still corrupted). I think I will take your suggestion and try installing the MySQL driver from the 4.4.3 build into the 4.5 tree. I'll ldd it an make sure there are no 4.4.3 dependencies burned into it.

    Thanks for the suggestion.

    Bill

  5. #5
    Join Date
    Mar 2009
    Posts
    19
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt/X11 source-distro apps corrupting KDE Desktop background

    UPDATE:

    The culprit is CPU cycles. My two (unmodified) apps grab a massive amount of CPU time for about 30-45 seconds wall clock time. This prevents desktop background redraw (and other things, like launching KSnapshot to get a picture of it).

    Not sure what's behind this yet. My main()'s fire off QSplashScreens and are liberally sprinkled with qApp->processEvents().

Tags for this Thread

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.