Skip to content

Commit

Permalink
Merge pull request #40929 from m-kuhn/fixRelationCustomWidget
Browse files Browse the repository at this point in the history
Enable custom widget builds in ci and fix the build
  • Loading branch information
m-kuhn committed Jan 11, 2021
2 parents 12a7afb + 472898a commit 09f4f4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .ci/qt5_14/build.sh
Expand Up @@ -19,6 +19,7 @@ cmake -GNinja \
-DWITH_QWTPOLAR=OFF \
-DWITH_APIDOC=OFF \
-DWITH_ASTYLE=OFF \
-DWITH_CUSTOM_WIDGETS=ON \
-DWITH_DESKTOP=ON \
-DWITH_BINDINGS=ON \
-DWITH_SERVER=ON \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-docker.yml
Expand Up @@ -73,7 +73,7 @@ jobs:
docker run --name qgis_container qgis/qgis:BUILDER /bin/true
docker cp qgis_container:/QGIS/build_exit_value ./build_exit_value
if [[ $(cat ./build_exit_value) -ne "OK" ]]; then
if [[ $(cat ./build_exit_value) != "OK" ]]; then
echo "Build failed, not pushing image"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion src/customwidgets/qgsrelationeditorwidgetplugin.cpp
Expand Up @@ -52,7 +52,7 @@ bool QgsRelationEditorWidgetPlugin::isContainer() const

QWidget *QgsRelationEditorWidgetPlugin::createWidget( QWidget *parent )
{
return new QgsRelationEditorWidget( parent );
return new QgsRelationEditorWidget( QVariantMap(), parent );
}

bool QgsRelationEditorWidgetPlugin::isInitialized() const
Expand Down

0 comments on commit 09f4f4c

Please sign in to comment.