Results 1 to 9 of 9

Thread: QWT 5, QT3, SuSE 10.2. Crash and burn

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QWT 5, QT3, SuSE 10.2. Crash and burn

    Did you recompile the application after the upgrade? What does the backtrace say?

  2. #2
    Join Date
    Sep 2007
    Posts
    4
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: QWT 5, QT3, SuSE 10.2. Crash and burn

    Quote Originally Posted by wysota View Post
    Did you recompile the application after the upgrade? What does the backtrace say?

    Yeah, totally clean rebuild. All object files removed, qmake re-run etc

    Backtrace...


    #0 0x00002adf271b59e4 in QMutex::lock () from /usr/lib/qt3/lib64/libqt-mt.so.3
    #1 0x00002adf2b672d5c in QAbstractFileEngineHandler::QAbstractFileEngineHan dler ()
    from /usr/lib64/libQtCore.so.4
    #2 0x00002adf2b6911c5 in QTemporaryFile::createLocalFile () from /usr/lib64/libQtCore.so.4
    #3 0x00002adf2b691269 in qInitResourceIO () from /usr/lib64/libQtCore.so.4
    #4 0x00002adf2b6912a5 in qInitResourceIO () from /usr/lib64/libQtCore.so.4
    #5 0x00002adf2b700c12 in QTextCodecPlugin::qt_metacast () from /usr/lib64/libQtCore.so.4
    #6 0x00007fff849beed8 in ?? ()
    #7 0x00002adf2b3bb4f0 in ?? ()
    #8 0x00002adf26103000 in ?? ()
    #9 0x00002adf2b62de4b in _init () from /usr/lib64/libQtCore.so.4
    #10 0x00002adf28521000 in ?? ()
    #11 0x00002adf260f443b in call_init () from /lib64/ld-linux-x86-64.so.2
    #12 0x00002adf260f4545 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
    #13 0x00002adf260e7b9a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
    #14 0x0000000000000001 in ?? ()
    #15 0x00007fff849c098c in ?? ()
    #16 0x0000000000000000 in ?? ()




    Um... I am not mixing QT4 and QT3 libraries here by mistake am I.... ?

  3. #3
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QWT 5, QT3, SuSE 10.2. Crash and burn

    Well, yes you are using Qt4 libraries: #9 0x00002adf2b62de4b in _init () from /usr/lib64/libQtCore.so.4.

    You should be using the libs from /usr/lib/qt3/lib64/.

    Make sure LD_LIBRARY_PATH contains /usr/lib/qt3/lib64/ before usr/lib64 and also make sure QTDIR points to the right qt installation.

    Regards

  4. #4
    Join Date
    Sep 2007
    Posts
    4
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: QWT 5, QT3, SuSE 10.2. Crash and burn

    Quote Originally Posted by marcel View Post
    Well, yes you are using Qt4 libraries: #9 0x00002adf2b62de4b in _init () from /usr/lib64/libQtCore.so.4.

    You should be using the libs from /usr/lib/qt3/lib64/.

    Make sure LD_LIBRARY_PATH contains /usr/lib/qt3/lib64/ before usr/lib64 and also make sure QTDIR points to the right qt installation.

    Regards

    OK, this looks like it may be the problem.
    I have uninstalled QT4 and its many parts from the PC. I will rebuild QWT etc etc so that it no longer uses the QT4 libraries. Hopefully, this should fix the problem.

    Thanks to you both.

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

    Default Re: QWT 5, QT3, SuSE 10.2. Crash and burn

    It should be enough to rebuild qwt - without uninstalling Qt4.

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

    Default Re: QWT 5, QT3, SuSE 10.2. Crash and burn

    Seems that you are.

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.