mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Fix qt template to use variable instead of test data.
This commit is contained in:
parent
42e044251b
commit
997f7b6607
2 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ Rectangle {
|
|||
width: 360
|
||||
height: 360
|
||||
Text {
|
||||
text: qsTr("Hello World")
|
||||
text: qsTr("Hello World from $(baseName)")
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
MouseArea {
|
||||
|
|
|
@ -6,7 +6,7 @@ clean: clean-debug clean-release
|
|||
|
||||
build-debug/Makefile:
|
||||
@mkdir -p $(dir $@)
|
||||
$(QMAKE) -o $@ clangtest.pro CONFIG+=debug
|
||||
$(QMAKE) -o $@ {{baseName}}.pro CONFIG+=debug
|
||||
|
||||
debug: build-debug/Makefile
|
||||
$(MAKE) -w -C build-debug
|
||||
|
@ -16,7 +16,7 @@ clean-debug:
|
|||
|
||||
build-release/Makefile:
|
||||
@mkdir -p $(dir $@)
|
||||
$(QMAKE) -o $@ clangtest.pro CONFIG+=release
|
||||
$(QMAKE) -o $@ {{baseName}}.pro CONFIG+=release
|
||||
|
||||
release: build-release/Makefile
|
||||
$(MAKE) -w -C build-release
|
||||
|
|
Loading…
Add table
Reference in a new issue