Talk:Qt Extended Improved

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Building native and using qvfb)
(Compile program example)
 
Line 22: Line 22:
 
In the file qconfig.h there was at the top an inclusion of the file sdk/sdk/.... I removed 1 '''sdk''' and it compiled. Is this a bug ?
 
In the file qconfig.h there was at the top an inclusion of the file sdk/sdk/.... I removed 1 '''sdk''' and it compiled. Is this a bug ?
  
 
+
--[[User:Wolfmanjm|Wolfmanjm]] 21:39, 22 September 2009 (UTC)
 +
Yes it is a bug, and I'm not sure what causes it but a better solution which will work for building packages too is to symbolic link the second sdk to the first...
 +
    cd $QPEDIR/sdk
 +
    ln -s ../sdk sdk
  
 
== It's there some GPS Application for QtEI ? ==
 
== It's there some GPS Application for QtEI ? ==

Latest revision as of 22:39, 22 September 2009

Contents

[edit] Compile program example

When I wanted to compile the example program, I had an error.I did git clone git://git.karadog.net/qt-extended-improved.git to get the sources and then builded like in the page.

desktop# mkdir /opt/QtExtended/build/myapps desktop# cd /opt/QtExtended/build/myapps desktop# cp -R $QTOPIA_DEPOT_PATH/examples/application . desktop# mv application example desktop# cd example desktop# $QPEDIR/bin/qbuild

   In file included from /opt/QtExtended/build/sdk/qtopiacore/target/include/QtCore/qglobal.h:58,
   from /opt/QtExtended/build/sdk/qtopiacore/target/include/QtCore/qatomic.h:41,
   from /opt/QtExtended/build/sdk/qtopiacore/target/include/QtCore/qvariant.h:41,
   from /opt/QtExtended/build/sdk/qtopiacore/target/include/QtCore/QVariant:1,
   from /opt/QtExtended/build/myapps/example/.uic/ui_examplebase.h:13:
   /opt/QtExtended/build/sdk/qtopiacore/target/include/QtCore/qconfig.h:2:66: error: /opt/QtExtended/build/sdk/sdk/qtopiacore/qconfig-qpe.h: No such file or directory

In the file qconfig.h there was at the top an inclusion of the file sdk/sdk/.... I removed 1 sdk and it compiled. Is this a bug ?

--Wolfmanjm 21:39, 22 September 2009 (UTC) Yes it is a bug, and I'm not sure what causes it but a better solution which will work for building packages too is to symbolic link the second sdk to the first...

   cd $QPEDIR/sdk
   ln -s ../sdk sdk

[edit] It's there some GPS Application for QtEI ?

Application "mapping demo" it's not working for me. It's a pity not having TangoGPS or Navit also ported to QtEI. It's there any plans to have a solid and good GPS application for this (very good) Distribution?

--Apertum 11:27, 19 May 2009 (UTC)

The "mapping demo" works for me. The problem on my Freerunner was, that the sys-path of gps was changed and so the gps was not turned on. I recompiled the libneogpsplugin.so with the new path after that it works for me.

--Wolfmanjm 22:23, 20 September 2009 (UTC) I have a pedometer application using QtMoko and an xgps clone pedometer and xgps clone

[edit] Battery duration Issue: any solution?

I see that with QTEi, the standard duration of Battery with actual kernel (2.6.28/29) it's not more then 36/48h (sometimes also not more then 24h!).

It's there any plan to have a good battery duration that now, as everyday phone, it become an big issue?

--Apertum 11:29, 19 May 2009 (UTC)

[edit] Wireless Online Issue

I'm using the Franky Van Liedekerke's last release (release 11).

When i try to remove the Wireless module from "internet" application, QtEI simply crash (i have to remove the battery to reboot). Another problem is that if i try to stop the wifi service with the GUI, after the phone resume from a suspend, it restart automatically the Wifi online (and it consumes battery). --Apertum 11:34, 19 May 2009 (UTC)

[edit] Any roadmap and Unified Project for QtEI?

It's there any Roadmap or some active Major project (i mean with an official website, with tutorial, trac, blog, comments, like, ie, SHR-Project) for QtEI to contribute, add a wishlist, bugs, testing, translation, etc etc?

I see the Karadog+Radek+Franky efforts (very good job indeed!:-)), but i can't find a unified effort to evolve QtEI; it's a pity, because QtEI, IMHO, is the more stable and usable actual distro for our FreeRunner.

Any Suggestion?--Apertum 12:08, 22 May 2009 (UTC)

[edit] Building native and using qvfb

Here is the recipe I used for building natively on Ubuntu and running the Apps on the simulator with a hacked skin.

At same level as source directory (say ./qtmoko)...

     mkdir ./build-native

create a file setup-native.sh

   export QPEDIR=`pwd`/build-native
   export QTDIR=`pwd`/build-native
   export QTOPIA_DEPOT_PATH=`pwd`/qtmoko
   export QWS_DISPLAY=QVFb:mmWidth43:mmHeight58:0

Then execute these commands...

   > . ./setup-native
   > cd build-native
   > $QTOPIA_DEPOT_PATH/configure
   > bin/qbuild
   > bin/qbuild image
   > bin/qbuild sdk
   > edit ../../sdk/qtopiacore/target/include/QtCore/qconfig.h and remove .../sdk/sdk... on first line and replace with /sdk

Fonts are not copied so do this...

   > cp $QTOPIA_DEPOT_PATH/qtopiacore/qt/lib/fonts/* $QPEDIR/image/lib/fonts

build your apps as specified on main page but in build-native/myapps

Then to run you app in the simulator run this script modified to run your app...

   ../../qtopiacore/host/bin/qvfb -skin ./ficgta01.skin/ -zoom 0.75 &
   sleep 2
   ./qtpedometer -qws sim ./nmea_sample.txt

You will need to create a directory fictga01.skin in your app directory from this file, which has been modified to add two new buttons which simulate the soft keys, as the simulator does not seem to do this otherwise. Download and un-tar this file... Media:Ficgta01.skin.tar.gz


--Wolfmanjm 20:23, 22 September 2009 (UTC)

Personal tools

Compile program example

When I wanted to compile the example program, I had an error.I did git clone git://git.karadog.net/qt-extended-improved.git to get the sources and then builded like in the page.

desktop# mkdir /opt/QtExtended/build/myapps desktop# cd /opt/QtExtended/build/myapps desktop# cp -R $QTOPIA_DEPOT_PATH/examples/application . desktop# mv application example desktop# cd example desktop# $QPEDIR/bin/qbuild

   In file included from /opt/QtExtended/build/sdk/qtopiacore/target/include/QtCore/qglobal.h:58,
   from /opt/QtExtended/build/sdk/qtopiacore/target/include/QtCore/qatomic.h:41,
   from /opt/QtExtended/build/sdk/qtopiacore/target/include/QtCore/qvariant.h:41,
   from /opt/QtExtended/build/sdk/qtopiacore/target/include/QtCore/QVariant:1,
   from /opt/QtExtended/build/myapps/example/.uic/ui_examplebase.h:13:
   /opt/QtExtended/build/sdk/qtopiacore/target/include/QtCore/qconfig.h:2:66: error: /opt/QtExtended/build/sdk/sdk/qtopiacore/qconfig-qpe.h: No such file or directory

In the file qconfig.h there was at the top an inclusion of the file sdk/sdk/.... I removed 1 sdk and it compiled. Is this a bug ?

--Wolfmanjm 21:39, 22 September 2009 (UTC) Yes it is a bug, and I'm not sure what causes it but a better solution which will work for building packages too is to symbolic link the second sdk to the first...

   cd $QPEDIR/sdk
   ln -s ../sdk sdk

It's there some GPS Application for QtEI ?

Application "mapping demo" it's not working for me. It's a pity not having TangoGPS or Navit also ported to QtEI. It's there any plans to have a solid and good GPS application for this (very good) Distribution?

--Apertum 11:27, 19 May 2009 (UTC)

The "mapping demo" works for me. The problem on my Freerunner was, that the sys-path of gps was changed and so the gps was not turned on. I recompiled the libneogpsplugin.so with the new path after that it works for me.

--Wolfmanjm 22:23, 20 September 2009 (UTC) I have a pedometer application using QtMoko and an xgps clone pedometer and xgps clone

Battery duration Issue: any solution?

I see that with QTEi, the standard duration of Battery with actual kernel (2.6.28/29) it's not more then 36/48h (sometimes also not more then 24h!).

It's there any plan to have a good battery duration that now, as everyday phone, it become an big issue?

--Apertum 11:29, 19 May 2009 (UTC)

Wireless Online Issue

I'm using the Franky Van Liedekerke's last release (release 11).

When i try to remove the Wireless module from "internet" application, QtEI simply crash (i have to remove the battery to reboot). Another problem is that if i try to stop the wifi service with the GUI, after the phone resume from a suspend, it restart automatically the Wifi online (and it consumes battery). --Apertum 11:34, 19 May 2009 (UTC)

Any roadmap and Unified Project for QtEI?

It's there any Roadmap or some active Major project (i mean with an official website, with tutorial, trac, blog, comments, like, ie, SHR-Project) for QtEI to contribute, add a wishlist, bugs, testing, translation, etc etc?

I see the Karadog+Radek+Franky efforts (very good job indeed!:-)), but i can't find a unified effort to evolve QtEI; it's a pity, because QtEI, IMHO, is the more stable and usable actual distro for our FreeRunner.

Any Suggestion?--Apertum 12:08, 22 May 2009 (UTC)

Building native and using qvfb

Here is the recipe I used for building natively on Ubuntu and running the Apps on the simulator with a hacked skin.

At same level as source directory (say ./qtmoko)...

     mkdir ./build-native

create a file setup-native.sh

   export QPEDIR=`pwd`/build-native
   export QTDIR=`pwd`/build-native
   export QTOPIA_DEPOT_PATH=`pwd`/qtmoko
   export QWS_DISPLAY=QVFb:mmWidth43:mmHeight58:0

Then execute these commands...

   > . ./setup-native
   > cd build-native
   > $QTOPIA_DEPOT_PATH/configure
   > bin/qbuild
   > bin/qbuild image
   > bin/qbuild sdk
   > edit ../../sdk/qtopiacore/target/include/QtCore/qconfig.h and remove .../sdk/sdk... on first line and replace with /sdk

Fonts are not copied so do this...

   > cp $QTOPIA_DEPOT_PATH/qtopiacore/qt/lib/fonts/* $QPEDIR/image/lib/fonts

build your apps as specified on main page but in build-native/myapps

Then to run you app in the simulator run this script modified to run your app...

   ../../qtopiacore/host/bin/qvfb -skin ./ficgta01.skin/ -zoom 0.75 &
   sleep 2
   ./qtpedometer -qws sim ./nmea_sample.txt

You will need to create a directory fictga01.skin in your app directory from this file, which has been modified to add two new buttons which simulate the soft keys, as the simulator does not seem to do this otherwise. Download and un-tar this file... Media:Ficgta01.skin.tar.gz


--Wolfmanjm 20:23, 22 September 2009 (UTC)