Skip to content

Commit

Permalink
Version 0.6
Browse files Browse the repository at this point in the history
Amend extra fix for .pri files.
  • Loading branch information
semlanik committed May 31, 2021
1 parent a96d916 commit 053f834
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .ci/qt_installer_windows.qs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ Controller.prototype.ObligationsPageCallback = function()
{
var page = gui.pageWidgetByObjectName("ObligationsPage");
page.obligationsAgreement.setChecked(true);
var individualPerson = gui.findChild(page, "IndividualPerson");
individualPerson.setChecked(true);
page.completeChanged();
gui.clickButton(buttons.NextButton, 2000);
}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/branchpush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- 0.3
- 0.4
- 0.5
- 0.6
- ci_check
jobs:
build-ubuntu:
Expand Down
27 changes: 27 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
2021-05-23 version 0.6.0 (generator/QtProtobuf/QtGrpc)
QtProtobuf
* Split generator and QtProtobuf library
* Add standalone tests build
* Change the installation folder for the .pri files and qml modules
* Initial cross-compiling support
* Change the lookup mechanism of 3rdparty components
* Add github workflow to build Windows release packages
* Fix transparent types converter
* Replace ASSERT_EQ by EXPECT_EQ in converter tests
* Make microjson build-in only
* Tune coverage collecting procedure
* Add support of the cycling dependency between nested types
QtGrpc
* Fix subscription read buffer not clearing on subsequent calls
* Add a client QML call with the return value as a parameter
* Fixes for newer grpc versions
* Add implementation of a QAbstractGrpcChannel based on gRPC C++ native library
* Add timeout for subscription error
* Add disconnect method for subscription
generator
* Implement extra namespace for the generated code
* Add reflection of the json name to the property ordering
* Change the name of QML list properties. Keep the protobuf name for the
QML list prtoperties.
* Add field enum generation

2020-08-31 version 0.5.0 (generator/QtProtobuf/QtGrpc)
QtProtobuf
* Change the qmake executable lookup way
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.14)
cmake_policy(VERSION 3.6...3.14)

set(QT_PROTOBUF_VERSION 0.5.0)
set(QT_PROTOBUF_VERSION 0.6.0)
set(QT_PROTOBUF_NAMESPACE QtProtobuf)
set(QT_PREFIX Qt)
set(QT_VERSIONED_PREFIX Qt5)
Expand Down
1 change: 1 addition & 0 deletions cmake/QtProtobufInternalHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ endfunction()
function(qt_protobuf_internal_generate_pri target)
string(TOLOWER "${target}" target_lower)
set(pri_name "qt_lib_${target_lower}.pri")
get_target_property(QT_PROTOBUF_LIBRARY_OUTPUT_NAME ${target} OUTPUT_NAME)

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/${pri_name}.in"
"${QT_PROTOBUF_BINARY_DIR}/${pri_name}" @ONLY
Expand Down
6 changes: 3 additions & 3 deletions src/grpc/qt_lib_grpc.pri.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
QT.grpc.VERSION = @QT_PROTOBUF_VERSION@
QT.grpc.name = QtGrpc
QT.grpc.module = QtGrpc
QT.grpc.includes = @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/QtGrpc
QT.grpc.name = Qt@target@
QT.grpc.module = @QT_PROTOBUF_LIBRARY_OUTPUT_NAME@
QT.grpc.includes = @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/@QT_PROTOBUF_NAMESPACE@@target@
QT.grpc.private_includes =
QT.grpc.libs = @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
QT.grpc.depends = core network protobuf
Expand Down
6 changes: 3 additions & 3 deletions src/protobuf/qt_lib_protobuf.pri.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
QT.protobuf.VERSION = @QT_PROTOBUF_VERSION@
QT.protobuf.name = QtProtobuf
QT.protobuf.module = QtProtobuf
QT.protobuf.includes = @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/QtProtobuf
QT.protobuf.name = Qt@target@
QT.protobuf.module = @QT_PROTOBUF_LIBRARY_OUTPUT_NAME@
QT.protobuf.includes = @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/@QT_PROTOBUF_NAMESPACE@@target@
QT.protobuf.private_includes =
QT.protobuf.libs = @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
QT.protobuf.depends = core qml
Expand Down
2 changes: 1 addition & 1 deletion tests/test_extra_namespace_qml/qml/tst_extra_namespace.qml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import QtQuick 2.12
import QtTest 1.0

import QtProtobuf 0.5
import QtProtobuf 0.6
import MyTestNamespace.qtprotobufnamespace.tests 1.0

TestCase {
Expand Down
4 changes: 2 additions & 2 deletions tests/test_grpc_qml/qml/tst_grpc.qml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
import QtQuick 2.12
import QtTest 1.0

import QtProtobuf 0.5
import QtGrpc 0.5
import QtProtobuf 0.6
import QtGrpc 0.6
import qtprotobufnamespace.tests 1.0

TestCase {
Expand Down
2 changes: 1 addition & 1 deletion tests/test_qml/qml/tst_simple.qml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import QtQuick 2.12
import QtTest 1.0

import QtProtobuf 0.5
import QtProtobuf 0.6
import qtprotobufnamespace.tests 1.0
import qtprotobufnamespace.tests.nested 1.0
import qtprotobufnamespace.tests.nested.NestedFieldMessage 1.0 as NestedFieldMessage_
Expand Down

0 comments on commit 053f834

Please sign in to comment.