From 6cf7106e761ed81c28f73338f2e431b41d54ed4e Mon Sep 17 00:00:00 2001 From: dwmw2 Date: Sun, 21 Apr 2002 10:45:43 +0000 Subject: Allow building as real Qt app too. --- diff --git a/noncore/unsupported/gsmtool/main.cpp b/noncore/unsupported/gsmtool/main.cpp index 8f68713..bccebe7 100644 --- a/noncore/unsupported/gsmtool/main.cpp +++ b/noncore/unsupported/gsmtool/main.cpp @@ -1,12 +1,23 @@ #include "gsmtool.h" +#ifdef QWS #include +#else +#include +#endif int main( int argc, char ** argv ) { +#ifdef QWS QPEApplication a( argc, argv ); GSMTool mw; a.showMainWidget( &mw ); +#else + QApplication a( argc, argv ); + GSMTool mw; + a.setMainWidget( &mw ); + mw.show(); +#endif return a.exec(); } -- cgit v0.9.0.2