diff --git a/.gitignore b/.gitignore index 38245953..be41ddcc 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,6 @@ lib bin plugins fontconfig -qvg *.swp qskinny.pro.user *.o diff --git a/examples/automotive/automotive.pro b/examples/automotive/automotive.pro index 06c6e2b2..b7a3a6d8 100644 --- a/examples/automotive/automotive.pro +++ b/examples/automotive/automotive.pro @@ -24,26 +24,5 @@ SOURCES += \ SpeedometerDisplay.cpp RESOURCES += \ - images.qrc - -QVGRESOURCES += \ + images.qrc \ qvgfiles.qrc - -SVGSOURCES = \ - images/car.svg \ - images/left.svg \ - images/down.svg \ - images/right.svg \ - images/up.svg \ - images/bluetooth.svg \ - images/bookmark.svg \ - images/bus.svg \ - images/cloud.svg \ - images/compass.svg \ - images/location.svg \ - images/man.svg \ - images/menu.svg \ - images/phone.svg \ - images/plane.svg \ - images/train.svg \ - images/user.svg diff --git a/examples/automotive/qvg/bluetooth.qvg b/examples/automotive/qvg/bluetooth.qvg new file mode 100644 index 00000000..7c6522c1 Binary files /dev/null and b/examples/automotive/qvg/bluetooth.qvg differ diff --git a/examples/automotive/qvg/bookmark.qvg b/examples/automotive/qvg/bookmark.qvg new file mode 100644 index 00000000..320ba4bf Binary files /dev/null and b/examples/automotive/qvg/bookmark.qvg differ diff --git a/examples/automotive/qvg/bus.qvg b/examples/automotive/qvg/bus.qvg new file mode 100644 index 00000000..7c16b72c Binary files /dev/null and b/examples/automotive/qvg/bus.qvg differ diff --git a/examples/automotive/qvg/car.qvg b/examples/automotive/qvg/car.qvg new file mode 100644 index 00000000..21f343f3 Binary files /dev/null and b/examples/automotive/qvg/car.qvg differ diff --git a/examples/automotive/qvg/cloud.qvg b/examples/automotive/qvg/cloud.qvg new file mode 100644 index 00000000..6b5833b4 Binary files /dev/null and b/examples/automotive/qvg/cloud.qvg differ diff --git a/examples/automotive/qvg/down.qvg b/examples/automotive/qvg/down.qvg new file mode 100644 index 00000000..32b8742b Binary files /dev/null and b/examples/automotive/qvg/down.qvg differ diff --git a/examples/automotive/qvg/left.qvg b/examples/automotive/qvg/left.qvg new file mode 100644 index 00000000..fd20b405 Binary files /dev/null and b/examples/automotive/qvg/left.qvg differ diff --git a/examples/automotive/qvg/location.qvg b/examples/automotive/qvg/location.qvg new file mode 100644 index 00000000..149a61e1 Binary files /dev/null and b/examples/automotive/qvg/location.qvg differ diff --git a/examples/automotive/qvg/man.qvg b/examples/automotive/qvg/man.qvg new file mode 100644 index 00000000..f82443f8 Binary files /dev/null and b/examples/automotive/qvg/man.qvg differ diff --git a/examples/automotive/qvg/menu.qvg b/examples/automotive/qvg/menu.qvg new file mode 100644 index 00000000..963c0424 Binary files /dev/null and b/examples/automotive/qvg/menu.qvg differ diff --git a/examples/automotive/qvg/phone.qvg b/examples/automotive/qvg/phone.qvg new file mode 100644 index 00000000..9da2226c Binary files /dev/null and b/examples/automotive/qvg/phone.qvg differ diff --git a/examples/automotive/qvg/plane.qvg b/examples/automotive/qvg/plane.qvg new file mode 100644 index 00000000..a4cfc813 Binary files /dev/null and b/examples/automotive/qvg/plane.qvg differ diff --git a/examples/automotive/qvg/right.qvg b/examples/automotive/qvg/right.qvg new file mode 100644 index 00000000..a295d50a Binary files /dev/null and b/examples/automotive/qvg/right.qvg differ diff --git a/examples/automotive/qvg/train.qvg b/examples/automotive/qvg/train.qvg new file mode 100644 index 00000000..d74c9ee8 Binary files /dev/null and b/examples/automotive/qvg/train.qvg differ diff --git a/examples/automotive/qvg/up.qvg b/examples/automotive/qvg/up.qvg new file mode 100644 index 00000000..07be25f6 Binary files /dev/null and b/examples/automotive/qvg/up.qvg differ diff --git a/examples/automotive/qvg/user.qvg b/examples/automotive/qvg/user.qvg new file mode 100644 index 00000000..53bbe233 Binary files /dev/null and b/examples/automotive/qvg/user.qvg differ diff --git a/examples/qvgviewer/qvg/01.01.10.qvg b/examples/qvgviewer/qvg/01.01.10.qvg new file mode 100644 index 00000000..ecc02b2e Binary files /dev/null and b/examples/qvgviewer/qvg/01.01.10.qvg differ diff --git a/examples/qvgviewer/qvg/01.03.04q.qvg b/examples/qvgviewer/qvg/01.03.04q.qvg new file mode 100644 index 00000000..f7a92670 Binary files /dev/null and b/examples/qvgviewer/qvg/01.03.04q.qvg differ diff --git a/examples/qvgviewer/qvg/01.08.05q.qvg b/examples/qvgviewer/qvg/01.08.05q.qvg new file mode 100644 index 00000000..5f0f72d4 Binary files /dev/null and b/examples/qvgviewer/qvg/01.08.05q.qvg differ diff --git a/examples/qvgviewer/qvg/01.25.18.qvg b/examples/qvgviewer/qvg/01.25.18.qvg new file mode 100644 index 00000000..73c0ea83 Binary files /dev/null and b/examples/qvgviewer/qvg/01.25.18.qvg differ diff --git a/examples/qvgviewer/qvgviewer.pro b/examples/qvgviewer/qvgviewer.pro index 92646807..d2c05ec5 100644 --- a/examples/qvgviewer/qvgviewer.pro +++ b/examples/qvgviewer/qvgviewer.pro @@ -1,4 +1,4 @@ -CONFIG += qskexample qskqvg +CONFIG += qskexample HEADERS += \ MainWindow.h @@ -7,11 +7,28 @@ SOURCES += \ MainWindow.cpp \ main.cpp -QVGRESOURCES += \ - qvgviewer.qrc +# CONFIG += autoqvg -SVGSOURCES = \ - svg/01.01.10.svg \ - svg/01.03.04q.svg \ - svg/01.08.05q.svg \ - svg/01.25.18.svg +autoqvg { + + CONFIG += qskqvg + + QVGRESOURCES += \ + qvgviewer.qrc + + SVGSOURCES = \ + svg/01.01.10.svg \ + svg/01.03.04q.svg \ + svg/01.08.05q.svg \ + svg/01.25.18.svg + +} else { + + # When cross compiling we need to have the svg2qvg tool being + # compiled for the build environment - not for the one of the target. + # So we better have precompiled qvg files in the repository to + # make the build process much easier + + RESOURCES += \ + qvgviewer.qrc +}