lib is A1200 is changed. it's name doesn't have -xscale-r suffix like A780/E680i. so i change LIBS name in .pro file from (for A780/E680i)
######################################################################
# Automatically generated by qmake (1.07a) Sun Oct 1 10:13:03 2006
######################################################################
TEMPLATE = app
INCLUDEPATH += .
INCLUDEPATH +=/opt/qt/include
INCLUDEPATH +=/opt/dev-ezx/include/ezx
LIBS += -L${EZXDIR}/lib/ezx/lib -lezxappbase-xscale-r -lqte-mt-xscale-r -lezxjpeg-xscale-r
# Input
SOURCES += helloworld.cpp
to (for A1200)
######################################################################
# Automatically generated by qmake (1.07a) Sun Oct 1 10:13:03 2006
######################################################################
TEMPLATE = app
INCLUDEPATH += .
INCLUDEPATH +=/opt/qt/include
INCLUDEPATH +=/opt/dev-ezx/include/ezx
LIBS += -L${EZXDIR}/lib/ezx/lib -lezxappbase -lqte-mt -lezxjpeg
# Input
SOURCES += helloworld.cpp
now ezxcrosstool can compile my app. BUT it got a new Error.
Undefined reference to ZApplication::setMainWidget (QWidget*)
and
Undefined reference to 'vtable for MyWidget'
any ideas about this? if I try to compile no UI application. it's work. but It's error when compile application that have a Widget.
PS. I build sam7's ezxcrosstool and use his ezx-dev plus qmake.
every application work fine on my A780. sample .pro is from sam7's Helloworld but create new project file helloworld.pro and Makefile with qmake.




Reply With Quote


