Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qmake "-spec win32-msvc" for 64 bit?
Forum Updated to NodeBB v4.3 + New Features

qmake "-spec win32-msvc" for 64 bit?

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 6.8k Views 2 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.
  • D Offline
    D Offline
    davecotter
    wrote on last edited by
    #1

    in my build settings for my 64bit app, i see this: -spec win32-msvc. is that... normal? i'm having trouble building and wonder if this is the problem

    Chris KawaC 1 Reply Last reply
    0
    • D Offline
      D Offline
      davecotter
      wrote on last edited by
      #4

      thanks! yes it was mixing some other dll incorrect bit depth!

      1 Reply Last reply
      1
      • Christian EhrlicherC Online
        Christian EhrlicherC Online
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #2

        See https://doc.qt.io/qt-5/windows-building.html#step-3-set-the-environment-variables on how to select the correct architecture.

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        1 Reply Last reply
        3
        • D davecotter

          in my build settings for my 64bit app, i see this: -spec win32-msvc. is that... normal? i'm having trouble building and wonder if this is the problem

          Chris KawaC Offline
          Chris KawaC Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by
          #3

          @davecotter said in qmake "-spec win32-msvc" for 64 bit?:

          is that... normal?

          Yes, it's normal. The win32 spec is for both 32 and 64 bit (and yes, the naming is silly).
          The bitness for MSVC toolchain is set up by the right compiler selection in the kit settings and that's x86 for 32bit an amd64 for 64bit (again with the silly naming).

          So the problem must be somewhere else. What's the error?

          1 Reply Last reply
          5
          • D Offline
            D Offline
            davecotter
            wrote on last edited by
            #4

            thanks! yes it was mixing some other dll incorrect bit depth!

            1 Reply Last reply
            1

            • Login

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