forked from qt-creator/qt-creator
Wizards: Fix minor language issues in the project templates
Change-Id: Ia999054ecbc674d2bb920ca78f5fb758055a8140 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -4,12 +4,12 @@ CONFIG += c++11 console
|
|||||||
CONFIG -= app_bundle
|
CONFIG -= app_bundle
|
||||||
|
|
||||||
# The following define makes your compiler emit warnings if you use
|
# The following define makes your compiler emit warnings if you use
|
||||||
# any feature of Qt which as been marked deprecated (the exact warnings
|
# any Qt feature that has been marked deprecated (the exact warnings
|
||||||
# depend on your compiler). Please consult the documentation of the
|
# depend on your compiler). Please consult the documentation of the
|
||||||
# deprecated API in order to know how to port your code away from it.
|
# deprecated API in order to know how to port your code away from it.
|
||||||
DEFINES += QT_DEPRECATED_WARNINGS
|
DEFINES += QT_DEPRECATED_WARNINGS
|
||||||
|
|
||||||
# You can also make your code fail to compile if you use deprecated APIs.
|
# You can also make your code fail to compile if it uses deprecated APIs.
|
||||||
# In order to do so, uncomment the following line.
|
# In order to do so, uncomment the following line.
|
||||||
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
||||||
|
@@ -10,12 +10,12 @@ Project {
|
|||||||
|
|
||||||
cpp.defines: [
|
cpp.defines: [
|
||||||
// The following define makes your compiler emit warnings if you use
|
// The following define makes your compiler emit warnings if you use
|
||||||
// any feature of Qt which as been marked deprecated (the exact warnings
|
// any Qt feature that has been marked deprecated (the exact warnings
|
||||||
// depend on your compiler). Please consult the documentation of the
|
// depend on your compiler). Please consult the documentation of the
|
||||||
// deprecated API in order to know how to port your code away from it.
|
// deprecated API in order to know how to port your code away from it.
|
||||||
"QT_DEPRECATED_WARNINGS",
|
"QT_DEPRECATED_WARNINGS",
|
||||||
|
|
||||||
// You can also make your code fail to compile if you use deprecated APIs.
|
// You can also make your code fail to compile if it uses deprecated APIs.
|
||||||
// In order to do so, uncomment the following line.
|
// In order to do so, uncomment the following line.
|
||||||
// You can also select to disable deprecated APIs only up to a certain version of Qt.
|
// You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||||
//"QT_DISABLE_DEPRECATED_BEFORE=0x060000" // disables all the APIs deprecated before Qt 6.0.0
|
//"QT_DISABLE_DEPRECATED_BEFORE=0x060000" // disables all the APIs deprecated before Qt 6.0.0
|
||||||
|
@@ -2,12 +2,12 @@ QT += quick
|
|||||||
CONFIG += c++11
|
CONFIG += c++11
|
||||||
|
|
||||||
# The following define makes your compiler emit warnings if you use
|
# The following define makes your compiler emit warnings if you use
|
||||||
# any feature of Qt which as been marked deprecated (the exact warnings
|
# any Qt feature that has been marked deprecated (the exact warnings
|
||||||
# depend on your compiler). Please consult the documentation of the
|
# depend on your compiler). Refer to the documentation for the
|
||||||
# deprecated API in order to know how to port your code away from it.
|
# deprecated API to know how to port your code away from it.
|
||||||
DEFINES += QT_DEPRECATED_WARNINGS
|
DEFINES += QT_DEPRECATED_WARNINGS
|
||||||
|
|
||||||
# You can also make your code fail to compile if you use deprecated APIs.
|
# You can also make your code fail to compile if it uses deprecated APIs.
|
||||||
# In order to do so, uncomment the following line.
|
# In order to do so, uncomment the following line.
|
||||||
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
||||||
|
@@ -14,12 +14,12 @@ Project {
|
|||||||
|
|
||||||
cpp.defines: [
|
cpp.defines: [
|
||||||
// The following define makes your compiler emit warnings if you use
|
// The following define makes your compiler emit warnings if you use
|
||||||
// any feature of Qt which as been marked deprecated (the exact warnings
|
// any Qt feature that has been marked deprecated (the exact warnings
|
||||||
// depend on your compiler). Please consult the documentation of the
|
// depend on your compiler). Please consult the documentation of the
|
||||||
// deprecated API in order to know how to port your code away from it.
|
// deprecated API in order to know how to port your code away from it.
|
||||||
"QT_DEPRECATED_WARNINGS",
|
"QT_DEPRECATED_WARNINGS",
|
||||||
|
|
||||||
// You can also make your code fail to compile if you use deprecated APIs.
|
// You can also make your code fail to compile if it uses deprecated APIs.
|
||||||
// In order to do so, uncomment the following line.
|
// In order to do so, uncomment the following line.
|
||||||
// You can also select to disable deprecated APIs only up to a certain version of Qt.
|
// You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||||
//"QT_DISABLE_DEPRECATED_BEFORE=0x060000" // disables all the APIs deprecated before Qt 6.0.0
|
//"QT_DISABLE_DEPRECATED_BEFORE=0x060000" // disables all the APIs deprecated before Qt 6.0.0
|
||||||
|
@@ -14,12 +14,12 @@ Project {
|
|||||||
|
|
||||||
cpp.defines: [
|
cpp.defines: [
|
||||||
// The following define makes your compiler emit warnings if you use
|
// The following define makes your compiler emit warnings if you use
|
||||||
// any feature of Qt which as been marked deprecated (the exact warnings
|
// any Qt feature that has been marked deprecated (the exact warnings
|
||||||
// depend on your compiler). Please consult the documentation of the
|
// depend on your compiler). Please consult the documentation of the
|
||||||
// deprecated API in order to know how to port your code away from it.
|
// deprecated API in order to know how to port your code away from it.
|
||||||
"QT_DEPRECATED_WARNINGS",
|
"QT_DEPRECATED_WARNINGS",
|
||||||
|
|
||||||
// You can also make your code fail to compile if you use deprecated APIs.
|
// You can also make your code fail to compile if it uses deprecated APIs.
|
||||||
// In order to do so, uncomment the following line.
|
// In order to do so, uncomment the following line.
|
||||||
// You can also select to disable deprecated APIs only up to a certain version of Qt.
|
// You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||||
//"QT_DISABLE_DEPRECATED_BEFORE=0x060000" // disables all the APIs deprecated before Qt 6.0.0
|
//"QT_DISABLE_DEPRECATED_BEFORE=0x060000" // disables all the APIs deprecated before Qt 6.0.0
|
||||||
|
Reference in New Issue
Block a user