using precompiled qvg files to avoid problems when cross compiling

This commit is contained in:
Uwe Rathmann 2020-05-23 19:58:21 +02:00
parent 64f4207153
commit 5fc7403ecc
23 changed files with 26 additions and 31 deletions

1
.gitignore vendored
View File

@ -7,7 +7,6 @@ lib
bin
plugins
fontconfig
qvg
*.swp
qskinny.pro.user
*.o

View File

@ -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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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
}