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. Configure Qt 5.10.1 or 5.7.0 and MSVC 2015 to compile for SSE architecture

Configure Qt 5.10.1 or 5.7.0 and MSVC 2015 to compile for SSE architecture

Scheduled Pinned Locked Moved Unsolved General and Desktop
msvc2015ssecpu
3 Posts 2 Posters 1.0k 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.
  • T Offline
    T Offline
    te777
    wrote on 27 May 2018, 13:10 last edited by te777
    #1

    I want to compile a version of my app that would support Windows 7+ PCs running the older CPU SSE architecture (non-SSE2 or later). How can I configure either QT or the MSVC 2015 compiler to compilie for that CPU architecture? I have Visual Studio 2013, 2015, and 2017 installed on my development PC. Thanks for any replies..

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 27 May 2018, 15:40 last edited by
      #2

      You must modify the mkspec for msvc 2015 to add the proper arch option:
      https://msdn.microsoft.com/en-us/library/7t5yh4fd.aspx

      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
      • T Offline
        T Offline
        te777
        wrote on 27 May 2018, 17:10 last edited by te777
        #3

        The mkspec says win32-msvc. Is this the correct one? I am building a 32 bit app with 32 bit Qt. Is the following line correct for the qmake.conf there? It compiles and runs with that line, but I don't know that if it's incorrect it just ignores it. I can't test it because I don't have that older architecture on my development PC. It's a build for one of the users of my application.

        QMAKE_CFLAGS_RELEASE = /arch:SSE
        
        1 Reply Last reply
        0

        2/3

        27 May 2018, 15:40

        • Login

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