summaryrefslogtreecommitdiff
path: root/TAO/tao/QtResource/QtResource_Loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/QtResource/QtResource_Loader.h')
-rw-r--r--TAO/tao/QtResource/QtResource_Loader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/tao/QtResource/QtResource_Loader.h b/TAO/tao/QtResource/QtResource_Loader.h
index 2f7ef42e7a7..1ae1191f104 100644
--- a/TAO/tao/QtResource/QtResource_Loader.h
+++ b/TAO/tao/QtResource/QtResource_Loader.h
@@ -23,7 +23,11 @@
#include "tao/Versioned_Namespace.h"
+#if defined (ACE_HAS_QT4)
+#include <Qt/qapplication.h>
+#else
#include <qapplication.h>
+#endif
TAO_BEGIN_VERSIONED_NAMESPACE_DECL