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

更新测试工程

This commit is contained in:
tianduanrui 2018-04-06 22:01:05 +08:00
parent 48243bd7d5
commit cad7d4006b
4 changed files with 56 additions and 54 deletions

96
QQt.pro
View File

@ -8,53 +8,72 @@ CONFIG += ordered
SUBDIRS = src/qqt.pro
##-----------------------------------------------------------------
##basic example
##Q1 V1
##-----------------------------------------------------------------
#第一种引用LibQQt的方法
#SUBDIRS += examples/qqtframe
#SUBDIRS += examples/qqtframe2
#SUBDIRS += examples/animationframe
#
##-----------------------------------------------------------------
##QQt installed to Qt library or
##QQt installed to sdk or
##QQt is build
##-----------------------------------------------------------------
#need vlcQt libvlc library
#SUBDIRS += test/qqtliveplayer
#need ffmpeg library
#SUBDIRS += test/qqtffmpegplayer
#need webkit webkitwidgets - WebSupport
#webengine
#ignored
#lessThan(QT_MAJOR_VERSION , 5):SUBDIRS += test/qqtwebkittest
#lessThan(QT_MAJOR_VERSION , 5):SUBDIRS += test/qqtwebclient
#-----------------------------------------------------------------
#Q3 V2
#QQt installed to Qt library or
#QQt installed to sdk or
#QQt is build
#-----------------------------------------------------------------
#第二种引用LibQQt的方式
#SUBDIRS += examples/qqtframe2
#
SUBDIRS += examples/exquisite
#SUBDIRS += examples/tabwidgetexamples
#SUBDIRS += examples/qrcodeexample
#SUBDIRS += examples/qqtnetworkexample
#
SUBDIRS += test/voicetest
mac:lessThan(QT_MAJOR_VERSION , 5):SUBDIRS -= test/voicetest
SUBDIRS += examples/tabwidgetexamples
#need QZXing, default closed.
#SUBDIRS += examples/qrcodeexample
#
SUBDIRS += examples/qqtnetworkexample
#
greaterThan(QT_VERSION, 4.6.0):SUBDIRS += test/voicetest
#
mac:lessThan(QT_MAJOR_VERSION , 5):SUBDIRS -= test/voicetest
#udp 嵌入式linuxQt编译了udp支持默认是支持的
#SUBDIRS += examples/qqtudpexample
#lessThan(QT_VERSION , 5.8.0):SUBDIRS -= examples/qqtudpexample
#
SUBDIRS += examples/qqtudpexample
#
lessThan(QT_VERSION , 5.8.0):SUBDIRS -= examples/qqtudpexample
#
SUBDIRS += examples/qqtchartexample
#
#
##-----------------------------------------------------------------
##need webaccessmanager - WebSupport
##need QSsl
##need GumoQuery
##-----------------------------------------------------------------
#-----------------------------------------------------------------
#need webaccessmanager - WebSupport
#need QSsl
#need GumoQuery
#-----------------------------------------------------------------
#greaterThan(QT_MAJOR_VERSION , 4):SUBDIRS += examples/QtSdkManager
#greaterThan(QT_MAJOR_VERSION , 4):SUBDIRS += demo/VegeTablesPrice
#SUBDIRS += examples/GuiBuildTool
#SUBDIRS += examples/GuiBuildTool
#SUBDIRS += test/LearnCookieTest
##-----------------------------------------------------------------
##some test project
##-----------------------------------------------------------------
#-----------------------------------------------------------------
#some test project
#SUBDIRS += test/gumbo_query_test
#SUBDIRS += test/svgtest
#SUBDIRS += test/customqvariant
#
SUBDIRS += test/customqvariant
#SUBDIRS += test/framelesshelperwidget
#SUBDIRS += test/treeviewtest
#SUBDIRS += test/qqtdicttest
#SUBDIRS += test/qqtdicttest2
#
SUBDIRS += test/qqtdicttest2
#SUBDIRS += test/consoletest
#
SUBDIRS += test/bytearraytest
@ -62,30 +81,13 @@ SUBDIRS += test/bytearraytest
# SUBDIRS += test/cmdwidget
#}
#SUBDIRS += test/coretest
#SUBDIRS += test/giftest
#
SUBDIRS += test/giftest
#SUBDIRS += test/tmpproj
#
##-----------------------------------------------------------------
##need webkit webkitwidgets - WebSupport
##webengine
##ignored
##-----------------------------------------------------------------
##lessThan(QT_MAJOR_VERSION , 5):SUBDIRS += test/qqtwebkittest
##lessThan(QT_MAJOR_VERSION , 5):SUBDIRS += test/qqtwebclient
##-----------------------------------------------------------------
##need QtSoap - WebSupport
##-----------------------------------------------------------------
#SUBDIRS += test/easter
#need QtSoap - WebSupport
##SUBDIRS += test/easter
#SUBDIRS += test/soapQQtOnline
##-----------------------------------------------------------------
##need vlcQt libvlc library
##-----------------------------------------------------------------
##SUBDIRS += test/qqtliveplayer
#
##-----------------------------------------------------------------
##need ffmpeg library
##-----------------------------------------------------------------
##SUBDIRS += test/qqtffmpegplayer
#
##need bluetooth library
#greaterThan(QT_MAJOR_VERSION , 4):SUBDIRS += test/qqtbtfileserver

View File

@ -74,7 +74,7 @@ int main ( int argc, char* argv[] )
//pline() << "\n" << d5;
pline() << "\n" << d5["5.7"];
QQtMapNodeIterator itor ( d5["5.7"].getMap() );
QQtDictNodeMapIterator itor ( d5["5.7"].getMap() );
while ( itor.hasNext() )
{

View File

@ -30,9 +30,9 @@ QQTApp::QQTApp(int& argc, char** argv) : QApplication(argc, argv)
#endif
QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
QApplication::setOrganizationName(VER_COMPANYNAME_STR);
QApplication::setOrganizationDomain(VER_COMPANYDOMAIN_STR); // 专为Mac OS X 准备的
QApplication::setApplicationName(VER_PRODUCTNAME_STR);
QApplication::setOrganizationName("QQt");
QApplication::setOrganizationDomain("qqtffmpeg.com"); // 专为Mac OS X 准备的
QApplication::setApplicationName("qqtffmpeg");
QSettings::setPath(QSettings::NativeFormat, QSettings::UserScope, CONFIG_PATH);
QSettings::setPath(QSettings::NativeFormat, QSettings::SystemScope, CONFIG_PATH);

View File

@ -29,9 +29,9 @@ QQTApp::QQTApp(int& argc, char** argv) : QApplication(argc, argv)
#endif
QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
QApplication::setOrganizationName(VER_COMPANYNAME_STR);
QApplication::setOrganizationDomain(VER_COMPANYDOMAIN_STR); // 专为Mac OS X 准备的
QApplication::setApplicationName(VER_PRODUCTNAME_STR);
QApplication::setOrganizationName("QQt");
QApplication::setOrganizationDomain("qqtliveplayer"); // 专为Mac OS X 准备的
QApplication::setApplicationName("qqtliveplayer");
QSettings::setPath(QSettings::NativeFormat, QSettings::UserScope, CONFIG_PATH);
QSettings::setPath(QSettings::NativeFormat, QSettings::SystemScope, CONFIG_PATH);