How to build qtsvg-module of QT5.2?
-
Hi,
I have check out QT5.2 from git. I want to build qtsvg for an embedded device.
But I can not find a way to build qtsvg module?@user@ubuntu:~/Downloads/qt5$ make module-qtsvg
make: *** No rule to make target `module-qtsvg'. Stop.@Also searching MAKEFILE for svg returns nothing.
What is going on with the svg module? -
You need to configure Qt before running make. So, something like:
@
./configure <options>
make module-qtsvg
@ -
Hi, I know but when I run configure with -svg ,it produces an error.
see below:@+ /home/user/Downloads/qt5/qtbase/configure -top-level -v -opensource -confirm-license -opengl es2 -svg -make libs -device imx53 -nomake examples -nomake tests -no-audio-backend -no-nis -no-pch -no-dbus -no-openssl -no-c++11 -skip qtsvg -skip qtlocation -skip qtactiveqt -skip qtscript -skip qtmacextras -skip qtsensors -skip qtserialport -skip qtconnectivity -skip qtmultimedia -qt-freetype -device-option CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.3.3-glibc-2.8-cs2009q1-203/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- -sysroot /mnt/freescale/ltib_10.04_gtt/ltib/rootfs -no-gcc-sysroot -prefix /usr/local/qt5
-svg: invalid command-line switch@QT5 in a nutshell, undocumented and confusing when it comes to building :(
-
You do not need this flag. Qt will build all modules by default. The only thing you can do is to skip some of the modules with "-skip":
@
./configure -skip webkit
@ -
See if folder with named "qtsvg" is there. Once your module is built, the binaries will be copied to "qtase" folder (exact structure there depends on the platform, but in general take a look at bin and lib dirs).
-
One of the options you pass to configure in the listing above is "-skip qtsvg"...
Other than that, I don't know. Maybe some dependencies for building SVG are missing: configure output should inform you about that during build.