I have been able create an application that depends on webkit and scripts in Qt5.2.1.But i was able to create a deb package for 14.04 version Ubuntu .But how can i make it as stand alone application .I have seen static and dynamic build .I tried static build but I don't kon w how to include webkit for static build.Also is it possible with shared library approach for creating a standalone application.Please help me out here..
相关问题
- QML: Cannot read property 'xxx' of undefin
- QTextEdit.find() doesn't work in Python
- Qt 5.0.1: Application will not execute outside of
- QT Layouts, how to make widgets in horizontal layo
- QT GUI freezes even though Im running in separate
相关文章
- ubuntu20.4中c#通过c++库调用python脚本
- Qt槽函数自动执行多遍
- Handling ffmpeg library interface change when upgr
- Is there a non-java, cross platform way to launch
- How to get a settings storage path in a cross-plat
- Build errors of missing packages in Visual Studio
- Why doesn't valgrind detect a memory leak in m
- Private static variables in php class
Deploying a dynamically linked Qt application :
You should place Qt so files along the release version of your executable. These are
libQtCore.so
,libQtGui.so
and possibly the ones for other modules that you have used. These so files are in your installed Qt directory in lib folder or in the directory/usr/lib/i386-linux-gnu
. If you are using plugins you should place their so files in a folder namedplugins
beside your binary. In case of using icons and images you should ship their so files likelibqico.so
andlibqsvg.so
in a folder namedimageformats
.Gathering required shared libraries :
If you want your application to run independently on a bare installed Linux, you should gather all dependent shared libraries and put them in your application directory. You can simply do it by a shell script named cpld. You can easily copy all dependencies to a folder.
It's worthy to note that you can put this in your .pro file to cause the dynamic linker to look in the same directory as your Qt application at runtime in Linux :