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

Merge branch 'dev-multilink' of https://gitee.com/drabel/LibQQt into dev-multilink

This commit is contained in:
tianduanrui 2018-06-13 18:04:47 +08:00
commit 0caefe139b
4 changed files with 6 additions and 2 deletions

View File

@ -23,3 +23,4 @@ SUBDIRS =
#SUBDIRS += test/giftest
#SUBDIRS += test/voicetest
#SUBDIRS += examples/exquisite
SUBDIRS += test/treeviewtest

Binary file not shown.

View File

@ -10,15 +10,16 @@ MainWindow::MainWindow ( QWidget* parent ) :
ui ( new Ui::MainWindow )
{
ui->setupUi ( this );
QFileSystemModel* model = new QFileSystemModel ( this );
//model->setRootPath ( "/Users/abel/Develop/a0-develop/a0-qqtfoundation/examples" );
//model->setRootPath ( "xxxxxx" );
QDirModel* model2 = new QDirModel ( this );
ui->tv0->setModel ( model2 );
ui->tv0->setRootIndex ( model2->index ( qApp->applicationDirPath() ) );
QQtSqlTreeModel* md0 = new QQtSqlTreeModel ( this );
ui->tv1->setModel ( md0 );
md0->setAbsoluteFilePath ( "/Users/abel/Develop/d1-product/App/db/Manager.db" );
md0->setAbsoluteFilePath ( "Manager.db" );
md0->query();
}

View File

@ -95,6 +95,8 @@ add_deploy()
#libQQt从sdk到build和deploy
add_dependent_manager(QQt)
add_deploy_config($$PWD/AppRoot)
#-------------------------------------------------
##project environ
#-------------------------------------------------