Skip to content

Commit 71b2318

Browse files
committed
Picked up work on this again.
1 parent 40d7e43 commit 71b2318

File tree

9 files changed

+542
-574
lines changed

9 files changed

+542
-574
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@
3030
*.exe
3131
*.out
3232
*.app
33-
cppcommandline.qbs.user
33+
34+
#Qt temporary files
35+
*.user

cppcommandline.pro

Lines changed: 0 additions & 19 deletions
This file was deleted.

cppcommandline.qbs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,16 @@ Project
99

1010
QtApplication
1111
{
12-
name: "cppcommandlinetest"
12+
13+
name: "cppcommandlineexample"
14+
cpp.includePaths: [ "include", "example" ]
15+
files: [ "example/*" ]
16+
}
17+
18+
QtApplication
19+
{
1320
Depends { name: "Qt.testlib" }
14-
cpp.cxxLanguageVersion: "c++11"
21+
name: "cppcommandlinetest"
1522
cpp.includePaths: [ "include", "test" ]
1623
files: [ "test/*" ]
1724
}

example/main.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#include <QCoreApplication>
2+
#include <cppcommandline.h>
3+
4+
int main(int argc, char **argv)
5+
{
6+
QCoreApplication a(argc, argv);
7+
8+
return 0;
9+
}

0 commit comments

Comments
 (0)