-
Notifications
You must be signed in to change notification settings - Fork 449
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(plugin): enable qmake for core22 (#4162)
- Loading branch information
1 parent
3e1d1b2
commit d2731f1
Showing
5 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
tests/spread/plugins/craft-parts/build-and-run-hello/qmake-hello/hello.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include <stdio.h> | ||
|
||
int main() | ||
{ | ||
printf("hello world\n"); | ||
return 0; | ||
} |
4 changes: 4 additions & 0 deletions
4
tests/spread/plugins/craft-parts/build-and-run-hello/qmake-hello/hello.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CONFIG = console release | ||
SOURCES += hello.c | ||
target.path = /bin/ | ||
INSTALLS += target |
22 changes: 22 additions & 0 deletions
22
tests/spread/plugins/craft-parts/build-and-run-hello/qmake-hello/snap/snapcraft.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: qmake-hello | ||
version: "1.0" | ||
summary: test the qmake plugin | ||
description: | | ||
This is a basic qmake snap. It just prints a hello world. | ||
If you want to add other functionalities to this snap, please don't. | ||
Make a new one. | ||
grade: devel | ||
base: core22 | ||
confinement: strict | ||
|
||
apps: | ||
qmake-hello: | ||
command: bin/hello | ||
|
||
parts: | ||
hello: | ||
plugin: qmake | ||
qmake-parameters: | ||
- -Wall | ||
source: . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters