From cd1471858e29d0d23355a93178e063fd0550d31c Mon Sep 17 00:00:00 2001 From: gregory guy Date: Thu, 16 Jul 2020 14:07:49 +0200 Subject: Conversion to the cmake building system. Added a man page taken from the Debian packaging system. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gregory guy Resolve issues that occurred during CMake conversion. Concatenate the commands for generating pixmaps.h with CMake so that there is no need to use the GNU specific sed option -i. Signed-off-by: Slávek Banko Signed-off-by: gregory guy (cherry picked from commit d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc) --- style/baghira.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'style/baghira.cpp') diff --git a/style/baghira.cpp b/style/baghira.cpp index 8434cf1..608d9af 100644 --- a/style/baghira.cpp +++ b/style/baghira.cpp @@ -1,3 +1,14 @@ +/* + * This source code refers to the MacStyle style. It is marked as obsolete + * in tqnamespace.h and is not defined when TQT_NO_COMPAT is set. + * Therefore, QT_NO_COMPAT is forced to be canceled here. +*/ +#undef QT_NO_COMPAT + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "baghira.h" #include "bitmaps.h" #include "pixmaps.h" @@ -44,7 +55,7 @@ #include #include #include -#include "config.h" + #define PRINTDEVICE(p) tqWarning("device is %s", (p->device()->devType() == TQInternal::Widget) ?\ "Widget": (p->device()->devType() == TQInternal::Pixmap) ?\ -- cgit v1.2.1