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. build error:invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
QtWS25 Last Chance

build error:invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)

Scheduled Pinned Locked Moved Installation and Deployment
libc++buildosxstdlibclang
2 Posts 1 Posters 2.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
    theize
    wrote on last edited by
    #1

    Hey!

    I guess you guys already saw this in the past but, i don't get it to work.
    I am using Qt 3.2.1 (opensource) based on Qt 5.3.2 -> thats what my about tab tells me.
    Xcode Version: 6.3 (6D570), MacOSX: 10.10.3

    I already had problems compiling in the past, that means i already changed the version to 10.10 manually in: 5.3 /clang_64 /mkspecs /qdevice.pri

    My build errors are:

    error:invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
    error: [main.o] Error 1

    any ideas how to fix this? i am really getting tired a little bit with this freaking file link or file changing problems on my mac :(
    changing something in my .pro file is not very useful i guess because this file is used by me and 2 other guys. one of them on windows, one of them on linux ubuntu.

    TIA

    greets

    1 Reply Last reply
    0
    • T Offline
      T Offline
      theize
      wrote on last edited by
      #2

      ok finally:

      modifying Qt/5.3/clang_64/mkspecs/macx-clang/qmake.conf

      this way:

      #QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
      QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7

      did the job.

      just in case anybody needs this again. seems easy afterwards -.-

      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