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:
commit
0caefe139b
@ -23,3 +23,4 @@ SUBDIRS =
|
||||
#SUBDIRS += test/giftest
|
||||
#SUBDIRS += test/voicetest
|
||||
#SUBDIRS += examples/exquisite
|
||||
SUBDIRS += test/treeviewtest
|
||||
|
BIN
test/treeviewtest/AppRoot/Manager.db
Normal file
BIN
test/treeviewtest/AppRoot/Manager.db
Normal file
Binary file not shown.
@ -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();
|
||||
}
|
||||
|
||||
|
@ -95,6 +95,8 @@ add_deploy()
|
||||
#libQQt从sdk到build和deploy
|
||||
add_dependent_manager(QQt)
|
||||
|
||||
add_deploy_config($$PWD/AppRoot)
|
||||
|
||||
#-------------------------------------------------
|
||||
##project environ
|
||||
#-------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user