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:
parent
1e70542af5
commit
a5a89558c1
@ -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" );
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user