mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-10-31 00:07:36 +08:00
update
This commit is contained in:
parent
dba7332d89
commit
3c349da98f
@ -27,7 +27,7 @@ endif()
|
||||
file(TO_CMAKE_PATH "/" PATH_SEPARATOR)
|
||||
|
||||
#设置版本号
|
||||
add_definitions(-DVERSION=1,4,0,0)
|
||||
add_definitions(-DVERSION=1,5,0,0)
|
||||
|
||||
find_package(Qt6 REQUIRED COMPONENTS Quick Svg Network)
|
||||
|
||||
|
@ -12,7 +12,7 @@ if(APPLE)
|
||||
endif()
|
||||
|
||||
#设置版本号
|
||||
add_definitions(-DVERSION=1,4,0,0)
|
||||
add_definitions(-DVERSION=1,5,0,0)
|
||||
|
||||
find_package(Qt6 REQUIRED COMPONENTS Core Quick Qml)
|
||||
|
||||
|
@ -26,7 +26,7 @@ private:
|
||||
public:
|
||||
explicit FluHttp(QObject *parent = nullptr);
|
||||
~FluHttp();
|
||||
//神坑!!! 如果参数使用QVariantMap会有问题,在6.4.3版本中QML一调用就会编译失败。所有改用QMap<QString, QVariant>
|
||||
//神坑!!! 如果参数使用QVariantMap会有问题,在6.4.3版本中QML一调用就会编译失败。所以改用QMap<QString, QVariant>
|
||||
Q_INVOKABLE void get(QString url,QJSValue callable,QMap<QString, QVariant> = {},QMap<QString, QVariant> headers = {});
|
||||
Q_INVOKABLE void post(QString url,QJSValue callable,QMap<QString, QVariant> = {},QMap<QString, QVariant> headers = {});
|
||||
Q_INVOKABLE void postString(QString url,QJSValue callable,QString params = "",QMap<QString, QVariant> headers = {});
|
||||
|
Loading…
Reference in New Issue
Block a user