summaryrefslogtreecommitdiff
path: root/development
authorzecke <zecke>2004-11-14 22:18:09 (UTC)
committer zecke <zecke>2004-11-14 22:18:09 (UTC)
commit1d709cf8ce04b49db03d0e0353f3b7a071dce619 (patch) (side-by-side diff)
tree51cead0634a6f1a231b63687db37ed797bd06d33 /development
parent639ae2f86e57b77e875bdf933534b652b207f1b6 (diff)
downloadopie-1d709cf8ce04b49db03d0e0353f3b7a071dce619.zip
opie-1d709cf8ce04b49db03d0e0353f3b7a071dce619.tar.gz
opie-1d709cf8ce04b49db03d0e0353f3b7a071dce619.tar.bz2
Make the utlity quicklaunchable even if it is not under the control
of the buildsystem
Diffstat (limited to 'development') (more/less context) (ignore whitespace changes)
-rw-r--r--development/performance/main.cpp12
-rw-r--r--development/performance/opie-performance.control4
-rw-r--r--development/performance/performance.pro4
-rw-r--r--development/performance/performancetest.h1
4 files changed, 6 insertions, 15 deletions
diff --git a/development/performance/main.cpp b/development/performance/main.cpp
index 8802777..41db9e9 100644
--- a/development/performance/main.cpp
+++ b/development/performance/main.cpp
@@ -21,13 +21,5 @@
#include "performancetest.h"
-#include <qpe/qpeapplication.h>
+#include <opie2/oapplicationfactory.h>
-int main( int argc, char ** argv )
-{
- QPEApplication a( argc, argv );
-
- PerformanceTest mw;
- a.showMainWidget( &mw );
-
- return a.exec();
-}
+OPIE_EXPORT_APP( Opie::Core::OApplicationFactory<PerformanceTest> )
diff --git a/development/performance/opie-performance.control b/development/performance/opie-performance.control
index 299fda2..89157f9 100644
--- a/development/performance/opie-performance.control
+++ b/development/performance/opie-performance.control
@@ -1,3 +1,3 @@
-Files: bin/performance apps/Applications/performance.desktop
+Files: plugins/applications/libperformance.so* bin/performance apps/Applications/performance.desktop
Priority: optional
Section: opie/other
@@ -6,5 +6,5 @@ Architecture: $CPU_ARCH
Arch: $DEVICE_ARCH
Version: $QPE_VERSION-10
-Depends: qpe-libqtopia
+Depends: opie-taskbar
Description: Graphics performance tester
Graphics performance tester for Qtopia.
diff --git a/development/performance/performance.pro b/development/performance/performance.pro
index ab3a51a..a7fc512 100644
--- a/development/performance/performance.pro
+++ b/development/performance/performance.pro
@@ -1,5 +1,3 @@
-TEMPLATE = app
-CONFIG += qt warn_on release
-#DESTDIR = $(QPEDIR)/bin
+CONFIG += qt quick-app
HEADERS = performancetest.h
SOURCES = main.cpp performancetest.cpp
diff --git a/development/performance/performancetest.h b/development/performance/performancetest.h
index c0a80c4..a747c3c 100644
--- a/development/performance/performancetest.h
+++ b/development/performance/performancetest.h
@@ -7,4 +7,5 @@ class PerformanceTest : public PerformanceTestBase
public:
PerformanceTest( QWidget *parent=0, const char *name=0, WFlags fl=0 );
+ static QString appName() { return QString::fromLatin1("performance"); }
protected slots: