mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
update
This commit is contained in:
parent
592d3b00f2
commit
5404ea71c6
@ -1 +1 @@
|
|||||||
Subproject commit f893631981d3f81dac14c19a45d1602980b38f74
|
Subproject commit c11f2392ed03cad916e0b44690454e00cb6c3f5c
|
12
src/QQt.pro
12
src/QQt.pro
@ -135,9 +135,17 @@ contains(CONFIG, continue_build){
|
|||||||
#################################################################
|
#################################################################
|
||||||
##project environ
|
##project environ
|
||||||
#################################################################
|
#################################################################
|
||||||
|
#build
|
||||||
|
message($${TARGET} build obj dir $$OBJECTS_DIR)
|
||||||
|
message($${TARGET} build moc dir $$MOC_DIR)
|
||||||
|
message($${TARGET} build uih dir $$UI_DIR)
|
||||||
|
message($${TARGET} build rcc dir $$RCC_DIR)
|
||||||
|
message($${TARGET} build dst dir $$DESTDIR)
|
||||||
#default
|
#default
|
||||||
message ($${TARGET} QT $${QT})
|
message ($${TARGET} QT $${QT})
|
||||||
message ($${TARGET} config $${CONFIG})
|
|
||||||
message ($${TARGET} define $${DEFINES})
|
|
||||||
message ($${TARGET} pre link $${QMAKE_PRE_LINK})
|
message ($${TARGET} pre link $${QMAKE_PRE_LINK})
|
||||||
message ($${TARGET} post link $${QMAKE_POST_LINK})
|
message ($${TARGET} post link $${QMAKE_POST_LINK})
|
||||||
|
message ($${TARGET} config $${CONFIG})
|
||||||
|
message ($${TARGET} define $${DEFINES})
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,17 +15,19 @@ class QQTSHARED_EXPORT QQtTreeModel : public QStandardItemModel
|
|||||||
public:
|
public:
|
||||||
explicit QQtTreeModel(QObject* parent = 0);
|
explicit QQtTreeModel(QObject* parent = 0);
|
||||||
|
|
||||||
|
//对于纯虚函数,如果内部重写了,MSVC14编译不过,gcc可以编译过。
|
||||||
|
//对于虚函数,带有返回值的必须返回,否则MSVC14编译不过,gcc可以编译过。
|
||||||
/**
|
/**
|
||||||
* @brief query
|
* @brief query
|
||||||
* @param condition
|
* @param condition
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
virtual bool query(QString condition) = 0;
|
virtual bool query(QString condition){ return false; }
|
||||||
/**
|
/**
|
||||||
* @brief setFilePath
|
* @brief setFilePath
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
virtual void setFilePath(QString name) = 0;
|
virtual void setFilePath(QString name){}
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|
||||||
|
@ -48,6 +48,7 @@ defineTest(add_defines_QQt){
|
|||||||
#指定/mp编译选项,编译器将使用并行编译,同时起多个编译进程并行编译不同的cpp
|
#指定/mp编译选项,编译器将使用并行编译,同时起多个编译进程并行编译不同的cpp
|
||||||
msvc:MSVC_CCFLAGS += /MP
|
msvc:MSVC_CCFLAGS += /MP
|
||||||
#指出:这个FLAG只能用于MSVC
|
#指出:这个FLAG只能用于MSVC
|
||||||
|
#指出:DLL导入错误,是因为环境变量设置错误不是这里引起的。修改设置,重新编译还是错误,build目录clean不干净,手动删除干净。如果还是不行,对源代码进行touch,无法区分import和export的dll,是编译器的错误。
|
||||||
|
|
||||||
msvc:QMAKE_CFLAGS += $${MSVC_CCFLAGS}
|
msvc:QMAKE_CFLAGS += $${MSVC_CCFLAGS}
|
||||||
msvc:QMAKE_CXXFLAGS += $${MSVC_CCFLAGS}
|
msvc:QMAKE_CXXFLAGS += $${MSVC_CCFLAGS}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user