Results 1 to 3 of 3

Thread: cross-compile the qtopia core 4

Threaded View

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

    Thumbs up Re: cross-compile the qtopia core 4

    all,

    i got repy from qt-bugs@trolltech.com concerning this bug.
    thanks to Jason.
    hope this help.

    best regards,
    sliawati

    --forwarded message--
    This was a known issue with gcc 4.
    I have attached the patch that fix this problem.
    Regards,
    Jason Barron, Support Engineer
    Trolltech ASA, Oslo
    --end of forwarded--

    --the patch.diff file--
    --- src/corelib/tools/qchar.h 2006-08-10 15:42:44 -0000
    +++ src/corelib/tools/qchar.h 2006-08-10 15:42:44 -0000

    @@ -211,7 +211,7 @@
    inline const char toLatin1() const;
    inline const ushort unicode() const { return ucs; }
    #ifdef Q_NO_PACKED_REFERENCE
    - inline ushort &unicode() { return *((ushort*)&ucs); }
    + inline ushort &unicode() { return const_cast<ushort&>(ucs); }
    #else
    inline ushort &unicode() { return ucs; }
    #endif
    --end of file--
    Attached Files Attached Files

Similar Threads

  1. Qtopia install
    By dragon in forum Qt for Embedded and Mobile
    Replies: 14
    Last Post: 23rd August 2007, 09:55
  2. Cross compile QT/X11 for platform xscale-elf
    By nmkarvekar in forum Installation and Deployment
    Replies: 0
    Last Post: 19th May 2006, 07:20

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
  •  
Qt is a trademark of The Qt Company.