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. QTDIR only gets defined for 32bit

QTDIR only gets defined for 32bit

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 831 Views
  • 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.
  • E Offline
    E Offline
    ejm1
    wrote on last edited by
    #1

    Hello, title says it all.

    I am using Qt 5.14.1 msvc2015_64 yet when I change qt version on the QTDIR variable gets changed in the WIN32 version, but not the x64 version. This prevents me from running on the 64bit platform which I'd much prefer.

    Thanks

    jsulmJ 1 Reply Last reply
    0
    • E ejm1

      Hello, title says it all.

      I am using Qt 5.14.1 msvc2015_64 yet when I change qt version on the QTDIR variable gets changed in the WIN32 version, but not the x64 version. This prevents me from running on the 64bit platform which I'd much prefer.

      Thanks

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @ejm1 said in QTDIR only gets defined for 32bit:

      when I change qt version on the QTDIR

      How do you do that?
      Do you use QtCreator?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • E Offline
        E Offline
        ejm1
        wrote on last edited by ejm1
        #3

        sorry I meant only.

        Basically the macros only are being updated for Win32 in visual studio and the x64 version has empty macros. So when visual studio tries to access the bin folder of my qt install it can't find anything because the QTDIR environment variable is not defined for the x64 system.

        f7937932-2825-4817-81ee-e7c95bab6f43-image.png

        When I select my Qt version QtInstalDir is defined under Win32, but not in x64

        jsulmJ 1 Reply Last reply
        0
        • E ejm1

          sorry I meant only.

          Basically the macros only are being updated for Win32 in visual studio and the x64 version has empty macros. So when visual studio tries to access the bin folder of my qt install it can't find anything because the QTDIR environment variable is not defined for the x64 system.

          f7937932-2825-4817-81ee-e7c95bab6f43-image.png

          When I select my Qt version QtInstalDir is defined under Win32, but not in x64

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @ejm1 And you really installed a 64bit Qt for your VS version?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          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