summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/oapplicationfactory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie/oapplicationfactory.h b/libopie/oapplicationfactory.h
index 418a82e..ab88d80 100644
--- a/libopie/oapplicationfactory.h
+++ b/libopie/oapplicationfactory.h
@@ -229,8 +229,10 @@ struct OApplicationFactory< Opie::Typelist<Product, ProductListTail > >
#ifdef OPIE_APP_INTERFACE
#define OPIE_EXPORT_APP( factory ) Q_EXPORT_INTERFACE() { Q_CREATE_INSTANCE( factory ) }
#else
+#include <qpe/qpeapplication.h>
+
#define OPIE_EXPORT_APP( Factory ) \
int main( int argc, char **argv ) { \
QPEApplication a(argc, argv ); \
QWidget *mw = 0;\