Results 1 to 5 of 5

Thread: MinGW: char to WCHAR

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanked 86 Times in 81 Posts

    Default Re: MinGW: char to WCHAR

    -DUNICODE enables Unicode winapi Function calls. So removing this define should solve your problem. Otherwise you have no chance and replace all function calls with the correct unicode/ansi calls -> LoadLibrarayW/LoadLibraryA

  2. The following user says thank you to ChristianEhrlicher for this useful post:

    Darhuuk (25th March 2008)

  3. #2
    Join Date
    Jan 2008
    Posts
    32
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    10
    Thanked 1 Time in 1 Post

    Default Re: MinGW: char to WCHAR

    Thanks, I'll try tomorrow and see if that fixes it. I had wanted to try, but I thought it was a flag Qt needed.

Similar Threads

  1. Char array[6] to QString and display it
    By arunvv in forum Newbie
    Replies: 11
    Last Post: 12th March 2014, 20:48
  2. unable to save QCStrings properly in a buffer
    By nass in forum Qt Programming
    Replies: 13
    Last Post: 15th November 2006, 20:49

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.