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

fix qqt version error

This commit is contained in:
tianduanrui 2018-05-26 23:11:19 +08:00
parent 1e70542af5
commit a5a89558c1
2 changed files with 2 additions and 3 deletions

View File

@ -54,9 +54,6 @@ QQtApplication::QQtApplication ( int& argc, char** argv ) :
pline() << "Qt version:" << QT_VERSION_STR;
pline() << "LibQQt version:" << STR ( QQT_VERSION );
/*在linux系统不自动在当前目录寻找lib需要命令行设置LD_LIBRARY_PATH这里添加一下自动查找不冲突。*/
addLibraryPath ( QDir::currentPath() );//[qApp->]
#ifdef __EMBEDDED_LINUX__
pline() << "QTDIR:" << QProcessEnvironment::systemEnvironment().value ( "QTDIR" );
pline() << "TSLIB_TSDEVICE:" << QProcessEnvironment::systemEnvironment().value ( "TSLIB_TSDEVICE" );

View File

@ -47,6 +47,8 @@ include ($$PWD/qqt_source.pri)
#################################################################
#这个的设置有特点,要先设置
add_version(2,4,0,0)
#trans this macro to source files.
DEFINES += QQT_VERSION=$$VERSION
#user can use app_version.pri to modify app version once, once is all. DEFINES += APP_VERSION=0.0.0 is very good.
#unix:VERSION = $${QQT_VERSION}