Install the Linux fetion Application Installation Guide under Ubuntu

Source: Internet
Author: User
Keywords Applications Linux ubuntu fetion
Tags application applications apt code directory environment file guide

Note: The source code of the interface module is given here, and the Libfetion library (32 bits) is put in the form of a static library.

1: Build the compilation environment:
Execute the following command on the terminal:
sudo apt install automake
sudo apt install Libc-dev
sudo apt install g++
sudo apt install Libcurl4-gnutls-dev
sudo apt install libqt4-dev qt4-dev-tools

2: Download the source code:
SOURCE Download: http://www.libfetion.cn/Linux_demoapp_download.html
Decompression command: TAR-ZXVF linux_fetion-0.*.*.tar.gz
Entering source code directory: CD linux_fetion-0.*.*
(64 users are required to perform:./64_libfetion.sh scripts)
Run compilation command: Qmake-qt4;make
Setup:./install.sh

Note: QT version is 4.3.*.
If you are using the following version of 4.2.*, you can:
(1) Use 4.2.* version of the designer program to open the compilation error *.ui file.
(2) Comment out some 4.2.* functions that are not in the version.

Note: The information has been voided!!!

3: Program Packaging:

3.1: List of resource documents
Fetion_utf8_cn.qm
Image
Sound
Fetion.png

When packing, place fetion_utf8_cn.qm,sound and image in:/usr/share/libfetion/folder,
Fetion.png is placed under the/usr/share/pixmaps/and/usr/share/app-install/icons/folders.

3.2:desktop file:
Place the libfetion.desktop in the source file directory under the/usr/share/applications directory.

3.3: Main Program Files
Put linux-fetion in the/usr/bin directory

3.4:deb Package Control File Template

Package:linux-fetion
version:0.2.0
architecture:i386 + Your system info
Maintainer:your Info
Installed-size: ...
DEPENDS:LIBC6 (>= 2.3.6-6), LIBGCC1 (>= 1:4.1.1-12), libstdc++6 (>= 4.1.1-12) libqt ....
Section:kde
Priority:optional
Description:linux fetion a KDE IM client, Using the S fetion Kyoto.
.
* homepage:http://www.libfetion.cn
.
* Using Libfetion Library, can develop the third fetion client applictions on LINUX, OS, Windows, ECOS, uclinux Keyboard-based Bae.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.