more qmake magic master
authorKonrad Rosenbaum <konrad@silmor.de>
Tue, 17 Jan 2017 22:09:06 +0000 (23:09 +0100)
committerKonrad Rosenbaum <konrad@silmor.de>
Tue, 17 Jan 2017 22:09:06 +0000 (23:09 +0100)
README
examples/examples.pro [new file with mode: 0644]
examples/minimal/minimal.cpp [moved from examples/minimal/xx.cpp with 100% similarity]
examples/minimal/minimal.pro [new file with mode: 0644]
examples/minimal/xx.pro [deleted file]
melies.pro [new file with mode: 0644]

diff --git a/README b/README
index eeb38e8..2abd444 100644 (file)
--- a/README
+++ b/README
@@ -5,6 +5,9 @@ Melies is a GUI test toolkit for Qt5 (and Qt5 only).
 
 Currently it is only tested on Linux and only supports Widgets, not QML.
 
+WARNING: THIS IS AN ALPHA VERSION! It may malfunction, delete your programs,
+rape your cat and finally get real nasty...
+
 Copyright
 ----------
 
@@ -17,7 +20,29 @@ The picture of George Melies is public domain. See George_Melies.txt
 Building and Installing
 ------------------------
 
-?
+You need to build Melies for each supported version of Qt and for each
+platform. If your version of Qt cross-compiles you need to build twice:
+once for the host (where the utilities run) and once for the target system
+(where the tested program and Melies' plugins run).
+
+These 3 commands build and install Melies:
+
+ qmake
+ make
+ make install
+
+Melies is installed directly into the installation directory of the Qt
+version it is built for.
+
+
+Using Melies
+-------------
+
+TBD
+
+
+Notes
+------
 
 User side names:
 Director - Studio, Code generator
diff --git a/examples/examples.pro b/examples/examples.pro
new file mode 100644 (file)
index 0000000..9d6c96d
--- /dev/null
@@ -0,0 +1,3 @@
+TEMPLATE = subdirs
+
+SUBDIRS = minimal
diff --git a/examples/minimal/minimal.pro b/examples/minimal/minimal.pro
new file mode 100644 (file)
index 0000000..b74d699
--- /dev/null
@@ -0,0 +1,7 @@
+TARGET = minimalexample
+
+SOURCES += minimal.cpp
+
+DEFINES += GM_EXAMPLES=1
+
+QT += widgets
diff --git a/examples/minimal/xx.pro b/examples/minimal/xx.pro
deleted file mode 100644 (file)
index 6060152..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-TARGET = xx
-
-SOURCES += xx.cpp
-
-DEFINES += GM_EXAMPLES=1
-
-QT += widgets
diff --git a/melies.pro b/melies.pro
new file mode 100644 (file)
index 0000000..3af04f2
--- /dev/null
@@ -0,0 +1,4 @@
+TEMPLATE = subdirs
+
+SUBDIRS = controller styleplugin examples
+# ... director player recorder proxy