MeeCoLay/Workarounds

Contents

Workarounds

Qt Mobility

Error:

   plugin cannot be loaded for module "QtMobility.location": Cannot load library /opt/qtm12/imports/QtMobility/location/libdeclarative_location.so: (/opt/qtm12/imports/QtMobility/location/libdeclarative_location.so: undefined symbol: _ZNK10QtMobility13QGeoMapObject10metaObjectEv)

Solution:

   LD_PRELOAD=/opt/qtm12/lib/libQtLocation.so meecolay <with your arguments>

Qt Mobility

Error:

   symbol lookup error: /home/opt/meecolay/opt/GTRacing/bin/GTRacing: undefined symbol: _ZN10QtMobility18QSystemScreenSaver23setScreenSave rInhibitedEb

Solution:

   LD_PRELOAD=/opt/qtm12/lib/libQtSystemInfo.so meecolay <with your arguments>

Error:

   undefined symbol: _ZN14QCameraControl16staticMetaObjectE

Solution:

   LD_PRELOAD=/opt/qtm12/lib/libQtMultimediaKit.so meecolay <with your arguments>

If you need to preload several libraries, do it that way:

   LD_PRELOAD="library1:library2"

QmSystem2

Error:

   symbol lookup error: /opt/meecolay/lib/libqmsystem2.so.1: undefined symbol: dsme_battery_empty_ind

Solution

   LD_PRELOAD=/opt/meecolay/lib/libdsme_dbus_if.so.0.2.0 meecolay <with your arguments>

Adding apps/games to the applications menu

After installing Harmattan packages on N900 you won't see any icon, as some directories are different on Fremantle and Harmattan as as example

The app data is stored in optfs after installation... You'll have to move the desktop file and the icon to the right directories if you want to have an icon in the app menu


the desktop file: you should move it from

/usr/share/applications/

to

/usr/share/applications/hildon/

the icon, from:

/usr/share/icons/hicolor/80x80/apps/

or

/usr/share/icons/hicolor/64x64/apps/

to

/usr/share/icons/hicolor/scalable/apps/

Now you only need to modify the desktop file to make the game working with meecolay ! We'll take FruitGo as an example on leafpad (or any other text editor you like).

leafpad /usr/share/applications/hildon/FruitGo.desktop

you will see this :

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=FruitGo
Exec=/usr/bin/invoker --type=d -s /opt/FruitGo/bin/FruitGo
Icon=/usr/share/icons/hicolor/80x80/apps/FruitGo80.png
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

remove the exec commands and write meecolay instead, so the desktop file should look like this one :

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=FruitGo
Exec=meecolay /opt/FruitGo/bin/FruitGo
Icon=FruitGo80
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

now the game should work! You may need to restart the phone for the changes to make effect.