author | zecke <zecke> | 2004-11-14 22:18:09 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-11-14 22:18:09 (UTC) |
commit | 1d709cf8ce04b49db03d0e0353f3b7a071dce619 (patch) (unidiff) | |
tree | 51cead0634a6f1a231b63687db37ed797bd06d33 /development | |
parent | 639ae2f86e57b77e875bdf933534b652b207f1b6 (diff) | |
download | opie-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
-rw-r--r-- | development/performance/main.cpp | 12 | ||||
-rw-r--r-- | development/performance/opie-performance.control | 4 | ||||
-rw-r--r-- | development/performance/performance.pro | 4 | ||||
-rw-r--r-- | development/performance/performancetest.h | 1 |
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 | |||
@@ -22,12 +22,4 @@ | |||
22 | 22 | ||
23 | #include <qpe/qpeapplication.h> | 23 | #include <opie2/oapplicationfactory.h> |
24 | 24 | ||
25 | int main( int argc, char ** argv ) | 25 | OPIE_EXPORT_APP( Opie::Core::OApplicationFactory<PerformanceTest> ) |
26 | { | ||
27 | QPEApplication a( argc, argv ); | ||
28 | |||
29 | PerformanceTest mw; | ||
30 | a.showMainWidget( &mw ); | ||
31 | |||
32 | return a.exec(); | ||
33 | } | ||
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,2 +1,2 @@ | |||
1 | Files: bin/performance apps/Applications/performance.desktop | 1 | Files: plugins/applications/libperformance.so* bin/performance apps/Applications/performance.desktop |
2 | Priority: optional | 2 | Priority: optional |
@@ -7,3 +7,3 @@ Arch: $DEVICE_ARCH | |||
7 | Version: $QPE_VERSION-10 | 7 | Version: $QPE_VERSION-10 |
8 | Depends: qpe-libqtopia | 8 | Depends: opie-taskbar |
9 | Description: Graphics performance tester | 9 | Description: Graphics performance tester |
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,4 +1,2 @@ | |||
1 | TEMPLATE = app | 1 | CONFIG += qt quick-app |
2 | CONFIG += qt warn_on release | ||
3 | #DESTDIR = $(QPEDIR)/bin | ||
4 | HEADERS = performancetest.h | 2 | HEADERS = performancetest.h |
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 | |||
@@ -8,2 +8,3 @@ public: | |||
8 | PerformanceTest( QWidget *parent=0, const char *name=0, WFlags fl=0 ); | 8 | PerformanceTest( QWidget *parent=0, const char *name=0, WFlags fl=0 ); |
9 | static QString appName() { return QString::fromLatin1("performance"); } | ||
9 | 10 | ||