Results 1 to 12 of 12

Thread: WinMain@16 compiler error in Qt examples

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2009
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Re: WinMain@16 compiler error in Qt examples

    Get this: The file you attached WORKS for me, provided I don't put it into the same folder as the stickman example.

    My example files are under C:/Nokia/Qt/2009.05_new/qt/examples/animation/stickman_ex/stickman.pro , etc
    Anything I create goes under C:/Programming/Nokia/stickman_ex , etc
    Now, why does this identical folder work when I put it in any directory other than the default directory?

    So, what I've done is moved my entire examples directory to C:/Nokia/Qt and now all of the examples I've tested compile.
    Albarian, I'm running Win XP SP3 as well. Does moving the examples directory help you?

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

    joandelason (20th March 2010)

  3. #2
    Join Date
    Oct 2009
    Posts
    364
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    10
    Thanked 37 Times in 36 Posts

    Default Re: WinMain@16 compiler error in Qt examples

    Quote Originally Posted by Tvt204 View Post
    Get this: The file you attached WORKS for me, provided I don't put it into the same folder as the stickman example.

    My example files are under C:/Nokia/Qt/2009.05_new/qt/examples/animation/stickman_ex/stickman.pro , etc
    Anything I create goes under C:/Programming/Nokia/stickman_ex , etc
    Now, why does this identical folder work when I put it in any directory other than the default directory?

    So, what I've done is moved my entire examples directory to C:/Nokia/Qt and now all of the examples I've tested compile.
    Albarian, I'm running Win XP SP3 as well. Does moving the examples directory help you?
    I'm glad it worked for you, although I'm not sure why. When you copied the files/folder from my archive into the original example's folder, did you completely delete all contents *before* copying the new stuff into it?

  4. #3
    Join Date
    Dec 2009
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Re: WinMain@16 compiler error in Qt examples

    Actually, I not only deleted the folder's contents, but I also deleted the folder. Then recreated the folder and copied the files from your archive into it. Must just be something weird with winXP. Thanks for your help.

  5. The following user says thank you to Tvt204 for this useful post:

    ohlfsen (24th February 2010)

Tags for this Thread

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.