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 debians on fremantle using dpkg or the application manager some of the new installed files go to a wrong directory, so you need to move these files to have your application in the app-menu as as example

FruitGo

The Game data are stored in optfs correctly after installation... but you wont be able to see the game shortcut, you'll have t move the desktop file and the icon to the right directories. 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/

to

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

Now you only need to modify the desktop file to make the game working with meecolay ! 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=meecaoly /opt/FruitGo/bin/FruitGo
Icon=/usr/share/icons/hicolor/64x64/apps/FruitGo80
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

now the game should work ! and dont forget to edit the icon section too and direct it to the right place ! and remove the ( .png )