Skip to content

Instantly share code, notes, and snippets.

@giraphics
Last active October 7, 2018 04:59
Show Gist options
  • Save giraphics/796ef1139e41ecd162c8ec4c2b919053 to your computer and use it in GitHub Desktop.
Save giraphics/796ef1139e41ecd162c8ec4c2b919053 to your computer and use it in GitHub Desktop.
Cannot find TargetConditionals.h
# FIX: force the macosxsdk to 10.12
# macx {
# QMAKE_MAC_SDK = macosx10.12
# }
#
# With the above change ensure you first delete the existing makefile and .qmake.stash from the directory. Note .qmake.stash is a hidden file (view it ls -la)
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
DEFINES += QT_DEPRECATED_WARNINGS
TARGET = untitled3
TEMPLATE = app
macx {
QMAKE_MAC_SDK = macosx10.12
}
SOURCES += main.cpp\
dialog.cpp
HEADERS += dialog.h
FORMS += dialog.ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment