From 25453e3b809e57aa57d9ffe97cab49ef4d92e6f1 Mon Sep 17 00:00:00 2001 From: Lorenzo Bettini Date: Thu, 3 Dec 2009 22:00:47 +0100 Subject: added .pro files for compilation with qmake --- src/source-highlight-settings.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/source-highlight-settings.cpp') diff --git a/src/source-highlight-settings.cpp b/src/source-highlight-settings.cpp index 3d866a8..9eefe6d 100644 --- a/src/source-highlight-settings.cpp +++ b/src/source-highlight-settings.cpp @@ -26,8 +26,20 @@ #include "srchilite/settings.h" #include "srchilite/versions.h" + +#ifdef HAVE_CONFIG_H +#include "config.h" + +// this is glib related so don't use it when compiling with qmake #include "progname.h" +#else + +#define set_program_name(x) ; + +#endif + + using namespace std; using namespace srchilite; -- cgit v1.2.3

AltStyle によって変換されたページ (->オリジナル) /