Results 1 to 2 of 2

Thread: [Help] Configure static compile with Qt 5.0.2

  1. #1
    Join Date
    Apr 2013
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default [Help] Configure static compile with Qt 5.0.2

    I build an GUI application based on Qt 5.0.2 in Ubuntu platfrom, then I copied the build folder into another Ubuntu machine and run it, but I got the error in terminal

    error while loading shared libraries: libQt5WebKitWidgets.so.5: cannot open shared object file: No such file or directory
    error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory
    After take a look at Google, I figured out that the problem is about static compile (share library and static library). I try to do some instruction with older Qt version, but not successful.

    Could everyone tell me how can I fix that problem? please.
    thannk you so much

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: [Help] Configure static compile with Qt 5.0.2

    You do not need a static build of Qt to fix the problem you describe. You need to deploy the application and its dependencies correctly. Here is an example Hello World program deployment.

Similar Threads

  1. How do i configure cross-compile QT for armv7
    By binladen_vn88 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 28th March 2013, 08:49
  2. configure qt, static build
    By terhje in forum Installation and Deployment
    Replies: 2
    Last Post: 16th February 2012, 18:49
  3. Problem Configure openssl static build
    By moh.gup@gmail.com in forum Installation and Deployment
    Replies: 0
    Last Post: 16th March 2010, 17:28
  4. Replies: 17
    Last Post: 26th January 2010, 20:21
  5. Replies: 2
    Last Post: 24th August 2006, 12:37

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.