Results 1 to 3 of 3

Thread: help on Qt 2.3 Non commercial version

  1. #1
    Join Date
    Jul 2007
    Posts
    90
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default help on Qt 2.3 Non commercial version

    Hi,

    I am doing some developement on Qt 2.3 NC version.

    I want to display some special symbol.
    But it seems that i can use only special symbols having ascii value upto 255.
    Any specila symbol above this gives me error.
    I am writing the code like this

    QString str = QString("\x2190"); // 2190 is the hex value for left arrow

    for this line i am getting the error '8592' : too big for character

    This works on latest QT version.

    Any solution for this


    Thanks,
    ~Sanjay

  2. #2
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    517
    Thanks
    21
    Thanked 66 Times in 62 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: help on Qt 2.3 Non commercial version

    i dont know if this function works on that version..but this should solve ur problem:

    QString QString::fromUtf16 ( const ushort * unicode, int size = -1 ) [static]
    Returns a QString initialized with the first size characters of the Unicode string unicode (ISO-10646-UTF-16 encoded).
    If size is -1 (the default), unicode must be terminated with a 0.
    QString makes a deep copy of the Unicode data.
    See also utf16() and setUtf16().

  3. #3
    Join Date
    Jul 2007
    Posts
    90
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: help on Qt 2.3 Non commercial version

    There is no such function in Qt 2.3.

    I have already gone for this. and unfortunatley there is nothing like this.

    Thanks

Similar Threads

  1. Designer doesn't load wwWidgets plugin
    By reimer in forum Installation and Deployment
    Replies: 21
    Last Post: 7th February 2009, 03:23
  2. Replies: 2
    Last Post: 5th November 2007, 21:47
  3. Qt commercial version
    By jivanr in forum General Discussion
    Replies: 1
    Last Post: 26th June 2007, 13:33
  4. Distributing QT application for Mac OS
    By mb0 in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2007, 18:59
  5. Replies: 15
    Last Post: 21st April 2007, 17:46

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.