Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problem after compile qt-everywhere-opensource-src-4.7.4 - ./test: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object f
Forum Updated to NodeBB v4.3 + New Features

Problem after compile qt-everywhere-opensource-src-4.7.4 - ./test: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object f

Scheduled Pinned Locked Moved Installation and Deployment
15 Posts 3 Posters 8.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    koahnig
    wrote on last edited by
    #6

    You can install different versions of Qt on your system. So, you can compile it for embedded devices and also for your host. However, you have to make sure that the installations are not mixed up.

    Vote the answer(s) that helped you to solve your issue(s)

    1 Reply Last reply
    0
    • E Offline
      E Offline
      Elber
      wrote on last edited by
      #7

      :) How to set ubuntu x64 flag in ./configure ?

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vsorokin
        wrote on last edited by
        #8

        without 'embedded' flag

        --
        Vasiliy

        1 Reply Last reply
        0
        • E Offline
          E Offline
          Elber
          wrote on last edited by
          #9

          OK :) fast or no-fast ??

          1 Reply Last reply
          0
          • E Offline
            E Offline
            Elber
            wrote on last edited by
            #10

            i try with -fast flag and i hav'e error:

            bq. Basic XLib functionality test failed!
            You might need to modify the include and library search paths by editing
            QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /opt/qt-everywhere-opensource-src-4.7.4/mkspecs/linux-g++-64.

            1 Reply Last reply
            0
            • K Offline
              K Offline
              koahnig
              wrote on last edited by
              #11

              It looks that you have not installed all prequisites.
              There are a couple of addtional libs you have to install under linux. Add xlib support to your installation. There may be more missing.

              Vote the answer(s) that helped you to solve your issue(s)

              1 Reply Last reply
              0
              • E Offline
                E Offline
                Elber
                wrote on last edited by
                #12

                ok i install xlib ;) i have a last question - fast or no-fast ? What is the difference ?

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  koahnig
                  wrote on last edited by
                  #13

                  This is the explanation from confgure script:
                  [quote]
                  @

                  • -no-fast ........... Configure Qt normally by generating Makefiles for all
                    project files.
                    -fast .............. Configure Qt quickly by generating Makefiles only for
                    library and subdirectory targets. All other Makefiles
                    are created as wrappers, which will in turn run qmake.
                    @
                    [/quote]
                    It might be a matter of taste. I prefer the defaults, so -no-fast .

                  BTW there are explanations in the script ;-)

                  Vote the answer(s) that helped you to solve your issue(s)

                  1 Reply Last reply
                  0
                  • V Offline
                    V Offline
                    vsorokin
                    wrote on last edited by
                    #14

                    bq.

                    • -no-fast ........... Configure Qt normally by generating Makefiles for all
                      project files.
                      -fast .............. Configure Qt quickly by generating Makefiles only for
                      library and subdirectory targets. All other Makefiles
                      are created as wrappers, which will in turn run qmake.

                    recommend no-fast

                    --
                    Vasiliy

                    1 Reply Last reply
                    0
                    • E Offline
                      E Offline
                      Elber
                      wrote on last edited by
                      #15

                      Ok after make and make install again i have comunicat:

                      bq. ./test: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved