Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Creating a new mkspec for win32-msvc2008
Forum Updated to NodeBB v4.3 + New Features

Creating a new mkspec for win32-msvc2008

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 4.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SteveKing
    wrote on last edited by
    #1

    Hi,

    I'm trying to create a new mkspec for win32-msvc2008 to set Zc/wchar_t rather than Zc/wchar_t-. I'm doing this as a new mkspec as I want to have 2 configurations, one with and one without.

    The problem I'm having is creating a new mkspec with the name win32-msvc2008-wchar causes an error during the configuration step (after the creating headers for Qt3 support):

    Makefile(57) : fatal error U1023: sytax error in expression.

    I've tried using the cross compile option (-platform win32-msvc2008 -xplatform win32-msvc2008-wchar) , this configures correctly but then fails to find stdint.h while compiling webkit...

    Any ideas???

    Thanks,
    Steve

    1 Reply Last reply
    0
    • G Offline
      G Offline
      GordonSchumacher
      wrote on last edited by
      #2

      ==You shouldn't need -xplatform - but did you specify the switch as it appears above? The correct switches are "/Zc:wchar_t-" and "/Zc:wchar_t" (though you don't actually need to specify the latter - that's the default).==

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SteveKing
        wrote on last edited by
        #3

        Hi,

        Sorry that was my typo in the posting, they are set as you've shown them.

        The problem is that the configuration process fails if I rename the mkspec win32-msvc2008 to a different name. I guess there's some meaning in the mkspec name that means the configure will fail if the name isn't correct.

        Steve

        1 Reply Last reply
        0
        • G Offline
          G Offline
          GordonSchumacher
          wrote on last edited by
          #4

          No, that name is simply what you need to match "QMAKESPEC" to (or the "-spec" option to "configure").

          Can you post (or pastebin) that Makefile?

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved