using precompiled qvg files to avoid problems when cross compiling
This commit is contained in:
parent
64f4207153
commit
5fc7403ecc
|
@ -7,7 +7,6 @@ lib
|
||||||
bin
|
bin
|
||||||
plugins
|
plugins
|
||||||
fontconfig
|
fontconfig
|
||||||
qvg
|
|
||||||
*.swp
|
*.swp
|
||||||
qskinny.pro.user
|
qskinny.pro.user
|
||||||
*.o
|
*.o
|
||||||
|
|
|
@ -24,26 +24,5 @@ SOURCES += \
|
||||||
SpeedometerDisplay.cpp
|
SpeedometerDisplay.cpp
|
||||||
|
|
||||||
RESOURCES += \
|
RESOURCES += \
|
||||||
images.qrc
|
images.qrc \
|
||||||
|
|
||||||
QVGRESOURCES += \
|
|
||||||
qvgfiles.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.
|
@ -1,4 +1,4 @@
|
||||||
CONFIG += qskexample qskqvg
|
CONFIG += qskexample
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
MainWindow.h
|
MainWindow.h
|
||||||
|
@ -7,11 +7,28 @@ SOURCES += \
|
||||||
MainWindow.cpp \
|
MainWindow.cpp \
|
||||||
main.cpp
|
main.cpp
|
||||||
|
|
||||||
QVGRESOURCES += \
|
# CONFIG += autoqvg
|
||||||
qvgviewer.qrc
|
|
||||||
|
|
||||||
SVGSOURCES = \
|
autoqvg {
|
||||||
svg/01.01.10.svg \
|
|
||||||
svg/01.03.04q.svg \
|
CONFIG += qskqvg
|
||||||
svg/01.08.05q.svg \
|
|
||||||
svg/01.25.18.svg
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue