Join Today
+ Reply to Thread
Page 9 of 11 FirstFirst ... 567891011 LastLast
Results 81 to 90 of 109
Like Tree19Likes

Thread: EZX Crosstool and SDK for Motorola EZX phones

  1. #81
    Join Date
    Sep 2005
    Location
    Jakarta, Indonesia
    Posts
    1,091

    Default

    Step 1 is enough to resolve your problem, helloezx no need the dropin folder.
    Lubomyr likes this.

  2. #82
    Join Date
    Sep 2007
    Location
    Pune
    Posts
    14

    Default

    Thanks blackhawk..
    everything is working fine...

    are all widgets are mapped to Z{WidgetName}, as in code MainWidget is mapped to ZMainWidget. [ is QPushButton is mapped to ZQPushButton? ]


    Thanks,
    Vishal

  3. #83
    borman Guest

    Default

    No. Most QT widgets are present, but there are EZX ones added. These are UTIL_* and Z* widgets. In most cases QT widgets are sufficient, but sometimes EZX ones are preferred, because they use EZX native styling. And, for example, QMultiLineEdit is ugly and buggy when ZMultiLineEdit is working ok and comfortable.

  4. #84

    Default

    Getting main screen of an app is pretty straightfoward. But I need to know hot get the screen when flip is closed (so i could try to paint/show some gui). I've looked around the forum, but couldn't find anything usefull. Someone got any ideas where to look ?

  5. #85
    Join Date
    Aug 2006
    Location
    Vietnam
    Posts
    17

    Default

    I have a question to ask, would you mind helping me a moment:


    When i compile helloezx, I used blackhawk SDK and add two lines to zwmainwidget.h:

    virtual int setTitleBarWidget(QLabel*);
    QWidget *getTitleBarWiget(void);

    after that i compile and this happen:

    $ make
    arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -mcpu=iwmmxt
    -mtune=iwmmxt -DNO_DEBUG -I/opt/crosstool/gcc-3.3.6-glibc-2.3.2/arm-linux/arm-l
    inux/include -I/opt/dev-ezx/e680i/include -I/opt/dev-ezx/e680i/include/ezx -I/op
    t/dev-ezx/e680i/include/qt -o HelloEZX.o HelloEZX.cpp
    arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -mcpu=iwmmxt
    -mtune=iwmmxt -DNO_DEBUG -I/opt/crosstool/gcc-3.3.6-glibc-2.3.2/arm-linux/arm-l
    inux/include -I/opt/dev-ezx/e680i/include -I/opt/dev-ezx/e680i/include/ezx -I/op
    t/dev-ezx/e680i/include/qt -o main.o main.cpp
    /opt/dev-ezx/bin/moc HelloEZX.h -o moc_HelloEZX.cpp
    arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -mcpu=iwmmxt
    -mtune=iwmmxt -DNO_DEBUG -I/opt/crosstool/gcc-3.3.6-glibc-2.3.2/arm-linux/arm-l
    inux/include -I/opt/dev-ezx/e680i/include -I/opt/dev-ezx/e680i/include/ezx -I/op
    t/dev-ezx/e680i/include/qt -o moc_HelloEZX.o moc_HelloEZX.cpp
    arm-linux-g++ -Wl,-rpath-link,/opt/dev-ezx/e680i/lib/ezx/lib,-rpath-link,/opt/de
    v-ezx/e680i/lib/ezx/lib/inputmethods -o HelloEZX HelloEZX.o main.o moc_HelloEZX.
    o -L/opt/crosstool/gcc-3.3.6-glibc-2.3.2/arm-linux/arm-linux/lib -L/opt/dev-ezx
    /e680i/lib -L/opt/dev-ezx/e680i/lib/ezx/lib -L/opt/dev-ezx/lib -lezxappbase-xsca
    le-r -lqte-mt-xscale-r -lezxjpeg-xscale-r -lezxnotification-xscale-r
    HelloEZX.o(.text+0xac): In function `HelloEZX::HelloEZX[not-in-charge]()':
    : undefined reference to `ZMainWidget::setTitleBarWidget(QWidget*)'
    HelloEZX.o(.text+0x33c): In function `HelloEZX::HelloEZX[in-charge]()':
    : undefined reference to `ZMainWidget::setTitleBarWidget(QWidget*)'
    moc_HelloEZX.o(.gnu.linkonce.r._ZTV8HelloEZX+0x1f0): undefined reference to `ZMa
    inWidget::setTitleBarWidget(QWidget*)'
    collect2: ld returned 1 exit status
    make: *** [HelloEZX] Error 1

    I already add two lines, how can i resolve this error?
    Thank you very much!!
    Last edited by e398bk; 06-29-2008 at 06:33 AM.

  6. #86
    Join Date
    Aug 2006
    Location
    Vietnam
    Posts
    17

    Default

    This is my helloezx.pro
    TEMPLATE = app
    CONFIG = qt warn_on release
    HEADERS = HelloEZX.h
    SOURCES = HelloEZX.cpp
    main.cpp
    INTERFACES =
    and this is make file
    #############################################################################
    # Makefile for building HelloEZX
    # Generated by tmake at 13:30, 2008/06/29
    # Project: HelloEZX
    # Template: app
    #############################################################################

    ####### Compiler, tools and options

    CC = arm-linux-gcc
    CXX = arm-linux-g++
    CFLAGS = -pipe -Wall -W -O2 -mcpu=iwmmxt -mtune=iwmmxt -DNO_DEBUG
    CXXFLAGS= -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -mcpu=iwmmxt -mtune=iwmmxt -DNO_DEBUG
    INCPATH = -I$(ARM_DEV_DIR)/include -I$(QTDIR)/include -I$(QTDIR)/include/ezx -I$(QTDIR)/include/qt
    LINK = arm-linux-g++
    LFLAGS = -Wl,-rpath-link,$(QTDIR)/lib/ezx/lib,-rpath-link,$(QTDIR)/lib/ezx/lib/inputmethods
    LIBS = $(SUBLIBS) -L$(ARM_DEV_DIR)/lib -L$(QTDIR)/lib -L$(QTDIR)/lib/ezx/lib -L/lib -lezxappbase-xscale-r -lqte-mt-xscale-r -lezxjpeg-xscale-r -lezxnotification-xscale-r
    MOC = $(EZXDIR)/bin/moc
    UIC = $(EZXDIR)/bin/uic

    TAR = tar -cf
    GZIP = gzip -9f

    ####### Files

    HEADERS = HelloEZX.h
    SOURCES = HelloEZX.cpp
    main.cpp
    OBJECTS = HelloEZX.o
    main.o
    INTERFACES =
    UICDECLS =
    UICIMPLS =
    SRCMOC = moc_HelloEZX.cpp
    OBJMOC = moc_HelloEZX.o
    DIST =
    TARGET = HelloEZX
    INTERFACE_DECL_PATH = .

    ####### Implicit rules

    .SUFFIXES: .cpp .cxx .cc .C .c

    .cpp.o:
    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

    .cxx.o:
    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

    .cc.o:
    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

    .C.o:
    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

    .c.o:
    $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<

    ####### Build rules


    all: $(TARGET)

    $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
    $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)

    moc: $(SRCMOC)

    tmake: Makefile

    Makefile: HelloEZX.pro
    tmake HelloEZX.pro -o Makefile

    dist:
    $(TAR) HelloEZX.tar HelloEZX.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST)
    $(GZIP) HelloEZX.tar

    clean:
    -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
    -rm -f *~ core

    ####### Sub-libraries


    ###### Combined headers


    ####### Compile

    HelloEZX.o: HelloEZX.cpp
    HelloEZX.h

    main.o: main.cpp
    HelloEZX.h

    moc_HelloEZX.o: moc_HelloEZX.cpp
    HelloEZX.h

    moc_HelloEZX.cpp: HelloEZX.h
    $(MOC) HelloEZX.h -o moc_HelloEZX.cpp


  7. #87
    Join Date
    Aug 2006
    Location
    Vietnam
    Posts
    17

    Default

    everything ok, I solved it myselft. start coding for my e680 hehe

  8. Default

    Download the pdf of the book here

    C++ GUI Programming With Qt 3 - Free Book Download

    (As given by Eakrin....in the 9th post earlier..)

    Thanks...Eakrin....Nice Job....Lol....

  9. Default

    The QT4 one in pdf

    RapidShare: Easy Filehosting
    Attached Thumbnails Attached Thumbnails EZX Crosstool and SDK for Motorola EZX phones-25366835.jpg  

  10. #90

    Default

    the command "progen -o helloezx.pro" is not working for me....it gives this error:
    "bash: /opt/dev-ezx/bin/progen: /usr/bin/perl: bad interpreter: No such file or directory"
    please help me....eakrin


 
+ Reply to Thread
Page 9 of 11 FirstFirst ... 567891011 LastLast

Similar Threads

  1. ezx-devkit and crosstool
    By blackglasses in forum Development
    Replies: 10
    Last Post: 05-14-2011, 09:21 AM
  2. Codeminders EZX crosstool [Linux]- *simple*
    By kuratkull in forum Development
    Replies: 0
    Last Post: 12-20-2008, 02:36 AM
  3. Problem on compiling with EZX Crosstool
    By arash in forum A1200 General Chat
    Replies: 8
    Last Post: 10-31-2008, 05:43 PM
  4. Need help with ezx-crosstool-0.5 on SuSE 10.0
    By Kenno in forum Development
    Replies: 4
    Last Post: 06-10-2006, 11:53 AM
  5. how to get ezx-crosstool work with E680?
    By eakrin in forum Development
    Replies: 0
    Last Post: 05-14-2006, 09:14 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1