Results 1 to 5 of 5

Thread: Which version should I work on i686 host for arm target?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2006
    Posts
    12
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Which version should I work on i686 host for arm target?

    Dear all,

    I am working with i686 as a host with Linux SUSE 10.1 for a Samsung 24110A (arm920t core) target.

    Which version should I work on i686 host for arm target?
    is it qt-x11-opensource-src-4.1.4.tar.gz or qtopia-core-opensource-src-4.1.4.tar.gz?

    Thank you very much in advance.

    best regards,
    sliawati

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Which version should I work on i686 host for arm target?

    The qt-x11-... file requires an X Windows system to be running, while the Qtopia does not. I suppose that you want to avoid running X on your arm system, hence, Qtopia is the one you want.

  3. #3
    Join Date
    Jul 2006
    Posts
    12
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: Which version should I work on i686 host for arm target?

    i success install qt-x11-opensource-src-4.1.4.tar.gz and the demo can run on my linux box.

    Now i am trying to install qtopia-core-opensource-src-4.1.4.tar.gz on my linux box.

    Linux linux 2.6.16.13-4-default #1 Wed May 3 04:53:23 UTC 2006 i686 i686 i386 GNU/Linux
    with
    arm-linux-gcc (GCC) 4.1.0
    and
    ./configure -embedded arm -little-endian

    But stuck at
    ../../include/QtCore/../../src/corelib/tools/qchar.h:224: error: cannot bind packed field '((QChar*)this)->QChar::ucs' to 'ushort&'

    Please help.

    Thank you very much in advance.

    best regards,
    suryadi

    gmake[3]: Entering directory `/tmp/qtopia-core-opensource-src-4.1.4/src/corelib'
    arm-linux-gcc -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -Iglobal -I../3rdparty/zlib -I.moc/debug-shared-emb-arm -I. -o .obj/debug-shared-emb-arm/malloc.o arch/arm/malloc.c
    arch/arm/malloc.c:4670: warning: 'mSTATs' defined but not used

    arm-linux-g++ -c -pipe -fno-exceptions -g -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -Iglobal -I../3rdparty/zlib -I.moc/debug-shared-emb-arm -I. -o .obj/debug-shared-emb-arm/qglobal.o global/qglobal.cpp
    ../../include/QtCore/../../src/corelib/tools/qchar.h: In member function 'ushort & QChar::unicode()':
    ../../include/QtCore/../../src/corelib/tools/qchar.h:224: error: cannot bind packed field '((QChar*)this)->QChar::ucs' to 'ushort&'

  4. #4
    Join Date
    Jul 2006
    Posts
    12
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: Which version should I work on i686 host for arm target?

    Quote Originally Posted by sliawati
    i success install qt-x11-opensource-src-4.1.4.tar.gz and the demo can run on my linux box.

    Now i am trying to install qtopia-core-opensource-src-4.1.4.tar.gz on my linux box.

    Linux linux 2.6.16.13-4-default #1 Wed May 3 04:53:23 UTC 2006 i686 i686 i386 GNU/Linux
    with
    arm-linux-gcc (GCC) 4.1.0
    and
    ./configure -embedded arm -little-endian

    But stuck at
    ../../include/QtCore/../../src/corelib/tools/qchar.h:224: error: cannot bind packed field '((QChar*)this)->QChar::ucs' to 'ushort&'

    Please help.

    Thank you very much in advance.

    best regards,
    suryadi
    The answer of this problem is at http://www.qtcentre.org/forum/f-inst...re-4-2456.html

  5. #5
    Join Date
    Jul 2006
    Posts
    12
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: Which version should I work on i686 host for arm target?

    Quote Originally Posted by e8johan
    The qt-x11-... file requires an X Windows system to be running, while the Qtopia does not. I suppose that you want to avoid running X on your arm system, hence, Qtopia is the one you want.
    i have read your qt 4.1 tutorial. it helps me a lot to understand how qt works.

    if I success creating a simple window with one button Quit with QTdesigner 4 on my linux box, how do I compile it so it can be run on the arm target? I already have arm-linux-gcc 4.1.0 and arm-linux-g++ 4.1.0.

    Thank you very much in advance for your help and attention.

    best regards,
    suryadi

Similar Threads

  1. how to corss compile for windows in Linux
    By safknw in forum Qt Programming
    Replies: 24
    Last Post: 13th May 2006, 05:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.