Qtopia-interest Archive, May 2007
Game in greenphone
Message 1 in thread
Hello,
I try to create a game, and I want it to be in the Games menu of the
Greenphone. I change 2 lines of the example.pro :
desktop.path=/apps/Games
pkg.domain=window,games
I thought it was enough (it's my understanding of the doc)... but I
can't see the game in the Greenphone. I try also with a normal .pro,
but I can't see it in Applications.
The only way to test it is to execute it in the console (withe qpe launched).
Here are my questions :
1) Why, when I do "gph -rescan", I have always this line :
"QWSSocket::connectToLocalFile could not connect:: Connection refused" ?
2) What is the correct way to declare a game in the .pro ?
You will find my .pro attached in the mail.
Regards,
Nicolas
qtopia_project(qtopia app) # see buildsystem.html for more project keywords
qtopia_project(qtopia app) # see buildsystem.html for more project keywords
TARGET=mygame
CONFIG+=qtopia_main
CONFIG+=no_singleexec
CONFIG+=no_quicklaunch
CONFIG+=no_tr
FORMS=gamedialog.ui \
resultdialog.ui
HEADERS=gamedialog.h \
gridkernel.h \
mainwindow.h \
resultdialog.h \
grid.h \
gridview.h \
numberview.h
SOURCES=gamedialog.cpp \
gridkernel.cpp \
main.cpp \
numberview.cpp \
grid.cpp \
gridview.cpp \
mainwindow.cpp \
resultdialog.cpp
desktop.files=mygame.desktop
desktop.path=/apps/Games
desktop.hint=desktop
pics.files=pics/*
pics.path=/pics/mygame
pics.hint=pics
help.source=help
help.files=mygame.html
help.hint=help
INSTALLS+=desktop pics help
pkg.name=mygame
pkg.desc=My Game
pkg.version=0.1
pkg.maintainer=Nicolas Arnaud-Cormos (www.nikikko.org)
pkg.license=GPL
pkg.domain=window,games