Problem after compile qt-everywhere-opensource-src-4.7.4 - ./test: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object f
-
Hi, my QT libraries do not work. QT compiled with the option @./configure -embedded -opensource -openssl@ and afrter make and make install as root, I get the message at startup my program
@./test: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory@My system is Ubuntu 10.04 x64
How to fix it ?
-
As Vass noted already a couple of things are not clear from your post.
You are working on Ubuntu, but you compiled Qt for an embedded device. If you want to work and test also on Ubuntu, than you have to compile Qt for for host platform Ubuntu as well.
Where are you starting your test application? -
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. -
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 ;-)
- -no-fast ........... Configure Qt normally by generating Makefiles for all
-
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
- -no-fast ........... Configure Qt normally by generating Makefiles for all