From 3f818470e82b057fed0556d56811575cabb34a36 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 22 Apr 2022 07:44:32 +0200 Subject: [PATCH] avoid qmake warning --- features/qskconfig.pri | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/features/qskconfig.pri b/features/qskconfig.pri index 1be67bbe..3f3d985b 100644 --- a/features/qskconfig.pri +++ b/features/qskconfig.pri @@ -175,11 +175,14 @@ debug { LOCAL_PRI=$$(QSK_LOCAL_PRI) -if ( exists( $${LOCAL_PRI} ) ) { +if ( !isEmpty( LOCAL_PRI ) ) { - # When not working with the Qt/Creator it is often more convenient - # to include the specific options of your local build, than passing - # them all on the command line + if ( exists( $${LOCAL_PRI} ) ) { - include( $${LOCAL_PRI} ) + # When not working with the Qt/Creator it is often more convenient + # to include the specific options of your local build, than passing + # them all on the command line + + include( $${LOCAL_PRI} ) + } }