From 85adaae0f60d168e677659a2c5ea4f7d786c4dbd Mon Sep 17 00:00:00 2001 From: bobhairgrove Date: Fri, 18 Jul 2025 10:55:41 +0200 Subject: [PATCH] Fixed naming the shared library for debug and release builds. --- src/qhexedit.pro | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/qhexedit.pro b/src/qhexedit.pro index 67f8822..0c78221 100644 --- a/src/qhexedit.pro +++ b/src/qhexedit.pro @@ -19,9 +19,12 @@ SOURCES = \ commands.cpp \ color_manager.cpp -Release:TARGET = qhexedit -Debug:TARGET = qhexeditd - +CONFIG += debug_and_release +CONFIG(debug, debug|release) { + TARGET = qhexeditd +} else { + TARGET = qhexedit +} unix { # Allows users to specify parameters when running qmake