1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00

add some tip

This commit is contained in:
tianduanrui 2017-10-29 09:45:37 +08:00
parent 854137cc54
commit 52b6dba6db
7 changed files with 45 additions and 11 deletions

11
QQt.pro
View File

@ -13,22 +13,25 @@ SUBDIRS += examples/QtBuildTool
SUBDIRS += examples/QtSdkManager
SUBDIRS += examples/QQtInstaller
#need QQt installed to Qt library
#need QQt installed to Qt library or
#need QQt installed to sdk
SUBDIRS += examples/qqtframe3
#need bluetooth library
#SUBDIRS += examples/qqtbluetoothfiletransferserver
#need vlcQt libvlc library
#SUBDIRS += examples/qqtliveplayer
#need ffmpeg library
#SUBDIRS += examples/qqtffmpegplayer
#need bluetooth library
#SUBDIRS += examples/qqtbluetoothfiletransferserver
#need webkitwidgets - WebSupport
#SUBDIRS += examples/qqtftpclient
#SUBDIRS += examples/qqthttpclient
#SUBDIRS += examples/qqtwebkit
#need QtSoap - WebSupport
#SUBDIRS += examples/easter
#SUBDIRS += examples/soapQQtOnline

View File

@ -3,8 +3,6 @@
# Project created by QtCreator 2017-10-27T12:29:41
#
#-------------------------------------------------
#need QQt.pro CONFIG+=create_sdk support
#QQt source root on your computer
equals(QMAKE_HOST.os, Darwin) {
QQT_SOURCE_ROOT = /Users/abel/Develop/a0-develop/a0-qqtfoundation

View File

@ -1,7 +1,7 @@
#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
int main(int argc, char* argv[])
{
QApplication a(argc, argv);
MainWindow w;
@ -9,3 +9,4 @@ int main(int argc, char *argv[])
return a.exec();
}

View File

@ -3,16 +3,40 @@
# Project created by QtCreator 2017-10-27T20:06:56
#
#-------------------------------------------------
#include QQt's header (add QQt header to includepath)
include(../../src/qqt_header.pri)
#QQt source root on your computer
equals(QMAKE_HOST.os, Darwin) {
QQT_SOURCE_ROOT = /Users/abel/Develop/a0-develop/a0-qqtfoundation
} else: equals(QMAKE_HOST.os, Linux) {
QQT_SOURCE_ROOT = /home/abel/Develop/a0-develop/LibQt
} else: equals(QMAKE_HOST.os, Windows) {
QQT_SOURCE_ROOT = C:/Users/Administrator/Develop/a0-develop/a0-qqtfoundation
}
#include QQt's version, needed by qqt_library.pri
include($${QQT_SOURCE_ROOT}/src/qqt_version.pri)
#include QQt's header
include($${QQT_SOURCE_ROOT}/src/qqt_header.pri)
#CONFIG += BUILD_SRC
contains (CONFIG, BUILD_SRC) {
#if you want to build src but not link QQt in this project
#include(../../src/qqt.pri)
include($${QQT_SOURCE_ROOT}/src/qqt_source.pri)
} else {
#if you want to link QQt library
include(../qqt_library.pri)
include($${QQT_SOURCE_ROOT}/src/qqt_library.pri)
}
############
##install
############
#CONFIG += can_install
can_install:equals(QKIT_PRIVATE, EMBEDDED) {
target.path = /Application
INSTALLS += target
} else: unix {
equals(QKIT_PRIVATE, macOS) {
target.path = /Applications
INSTALLS += target
}
}
QT += core gui

View File

@ -1,6 +1,7 @@
################################################
##qqt_install.pri
##install to Qt library
##please don't modify this pri
##need qqt_version.pri
################################################
contains(QMAKE_HOST.os,Windows) {

View File

@ -3,6 +3,12 @@
# Project created by QtCreator 2016-03-24T14:08:11
#
#-------------------------------------------------
#-------------------------------------------------
#QQt source
#Don't modify this pri
#FDL1.3 GPLv3 LGPLv2.1 PreviewCommercial
#2017年10月29日09:16:41
#-------------------------------------------------
SOURCES=
HEADERS=

View File

@ -1,5 +1,6 @@
#################################################################
##project QQt version pri
##please don't modify this pri
#################################################################
##qqt_library qqt_install all need this pri