Package Details: mingw-w64-qt5-declarative 5.15.4+kde+r17-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-qt5-declarative.git (read-only, click to copy)
Package Base: mingw-w64-qt5-declarative
Description: Classes for QML and JavaScript languages (mingw-w64)
Upstream URL: https://www.qt.io/
Licenses: custom, GPL3, LGPL3, FDL
Submitter: ant32
Maintainer: Martchus
Last Packager: Martchus
Votes: 8
Popularity: 0.000568
First Submitted: 2013-08-28 23:58 (UTC)
Last Updated: 2022-05-18 09:27 (UTC)

Pinned Comments

Martchus commented on 2016-07-10 19:38 (UTC)

All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs There also exist a binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff For general discussion and issues not only concerning this Qt module in particular please use the comment section of the package mingw-w64-qt5-base.

Latest Comments

Martchus commented on 2018-09-18 14:02 (UTC)

@b00rt00s I suppose I need the full log. Also, try to build everything in a clean chroot to prevent linking against unwanted dependencies.

b00rt00s commented on 2018-09-18 13:53 (UTC) (edited on 2018-09-18 13:54 (UTC) by b00rt00s)

Hey, I have a problem with compilation. I get the error message: g++ -Wl,--gc-sections -Wl,-rpath,/usr/i686-w64-mingw32/lib -o ../../bin/qmlimportscanner .obj/main.o -L/usr/lib -L/home/b00rt00s/instalki/mingw/build/declarative/src/qtdeclarative-everywhere-src-5.11.1/build-i686-w64-mingw32-static/lib /home/b00rt00s/instalki/mingw/build/declarative/src/qtdeclarative-everywhere-src-5.11.1/build-i686-w64-mingw32-static/lib/libQt5QmlDevTools.a -L/usr/lib /usr/i686-w64-mingw32/lib/libQt5Bootstrap.so -lpthread -L/usr/lib /usr/i686-w64-mingw32/lib/libQt5Bootstrap.so -lpthread -lpthread

/usr/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: cannot find -lgnulib

/usr/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: cannot find -lgnulib

/usr/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: cannot find -lgnulib

... etc

Looks like it wants to link with gnulib, which is not avauilable in AUR, but what bothers me is that it's not even in official repos. Any ideas how to fix that?

Martchus commented on 2017-03-04 16:50 (UTC)

ant32: This is the same issue as reported by xantares and has been fixed in https://github.com/Martchus/PKGBUILDs/pull/18. I've just forgotten to push the latest version here.

ant32 commented on 2017-03-03 19:54 (UTC)

Getting this error g++: error: /usr/i686-w64-mingw32/lib/libQt5QmlDevTools.so: No such file or directory

xantares commented on 2017-02-18 22:47 (UTC)

hello, it still doesnt compile: g++ -Wl,--gc-sections -Wl,-rpath,/usr/i686-w64-mingw32/lib -o ../../bin/qmlmin .obj/main.o -L/usr/lib -L/home/xantares/projects/aur-scripts/mingw-w64-qt5-declarative/src/qtdeclarative-opensource-src-5.8.0/build-i686-w64-mingw32-static/lib /usr/i686-w64-mingw32/lib/libQt5QmlDevTools.so -L/usr/lib /usr/i686-w64-mingw32/lib/libQt5Bootstrap.so -lpthread g++: error: /usr/i686-w64-mingw32/lib/libQt5QmlDevTools.so: No such file or directory make[2]: *** [Makefile:102: ../../bin/qmlmin] Error 1 make[2]: Leaving directory '/home/xantares/projects/aur-scripts/mingw-w64-qt5-declarative/src/qtdeclarative-opensource-src-5.8.0/build-i686-w64-mingw32-static/tools/qmlmin' make[1]: *** [Makefile:45: sub-qmlmin-make_first] Error 2 make[1]: *** Waiting for unfinished jobs....

xantares commented on 2017-02-18 22:46 (UTC)

hello, it still doesnt compile: g++ -Wl,--gc-sections -Wl,-rpath,/usr/i686-w64-mingw32/lib -o ../../bin/qmlmin .obj/main.o -L/usr/lib -L/home/xantares/projects/aur-scripts/mingw-w64-qt5-declarative/src/qtdeclarative-opensource-src-5.8.0/build-i686-w64-mingw32-static/lib /usr/i686-w64-mingw32/lib/libQt5QmlDevTools.so -L/usr/lib /usr/i686-w64-mingw32/lib/libQt5Bootstrap.so -lpthread g++: error: /usr/i686-w64-mingw32/lib/libQt5QmlDevTools.so: No such file or directory make[2]: *** [Makefile:102: ../../bin/qmlmin] Error 1 make[2]: Leaving directory '/home/xantares/projects/aur-scripts/mingw-w64-qt5-declarative/src/qtdeclarative-opensource-src-5.8.0/build-i686-w64-mingw32-static/tools/qmlmin' make[1]: *** [Makefile:45: sub-qmlmin-make_first] Error 2 make[1]: *** Waiting for unfinished jobs....

Martchus commented on 2017-02-13 16:03 (UTC)

@dviktor The mentioned issue should be fixed now. Note that building in a clean chroot is definitely recommended, though. Before building new version of mingw-w64-qt5-base you should at least remove the previous version from the system.

Martchus commented on 2017-01-02 09:09 (UTC)

@dviktor Seems like it is trying to link against /usr/lib/libQt5Bootstrap.a provided by native qt5-base. This might be caused by the sed commands in the PKGBUILD. However, I added those lines so the native standard library can be found so if you simply remove them you might ran into the next issue. Building the packages in a clean chroot would fix the issue.

dviktor commented on 2017-01-02 02:35 (UTC)

Compiling with pacaur give me following errors: /usr/lib/libQt5Bootstrap.a(qbytearray.o): In function `qUncompress(unsigned char const*, int)': (.text._Z11qUncompressPKhi+0xa3): undefined reference to `uncompress' /usr/lib/libQt5Bootstrap.a(qbytearray.o): In function `qCompress(unsigned char const*, int, int)': (.text._Z9qCompressPKhii+0xcc): undefined reference to `compress2'

Martchus commented on 2016-07-10 19:38 (UTC)

All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs There also exist a binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff For general discussion and issues not only concerning this Qt module in particular please use the comment section of the package mingw-w64-qt5-base.

ohmyarch commented on 2016-04-18 00:59 (UTC) (edited on 2016-04-18 04:12 (UTC) by ohmyarch)

That sounds great. Starred.

Martchus commented on 2016-04-17 17:38 (UTC) (edited on 2016-04-17 18:06 (UTC) by Martchus)

The current version built for me, but I'll add your changes as I think it won't hurt. By the way, if you like you can contribute directly at GitHub: https://github.com/Martchus/PKGBUILDs

ohmyarch commented on 2016-04-17 14:24 (UTC) (edited on 2016-04-17 14:29 (UTC) by ohmyarch)

build flags are default. chroot is clean. dependencies: mingw-w64-qt5-base is built from aur. I just add one line "find ./tools -type f -exec sed -i "s|-L/usr/${_arch}/lib -lQt5Bootstrap|/usr/lib/libstdc++.so.6 /usr/lib/libm.so -L/usr/${_arch}/lib -lQt5Bootstrap|g" {} \;" to build().Then the problem is solved. My PKGBUILD: http://paste.ubuntu.com/15896085/

Martchus commented on 2016-04-17 13:20 (UTC)

Seems like a dynamic shared object is required but hasn't been specified. I might try to reproduce it later but in general I'm able to build. See also my binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff/os/x86_64/ Which build flags did you set in /etc/makepkg.conf? Do you build in a clean chroot? If not, I would recommend to do so. Do you use current versions of all dependencies?

ohmyarch commented on 2016-04-17 12:29 (UTC)

g++ -Wl,--gc-sections -Wl,-rpath,/usr/i686-w64-mingw32/lib -o ../../bin/qmlimportscanner .obj/main.o -L/home/michael/.cache/pacaur/mingw-w64-qt5-declarative/src/qtdeclarative-opensource-src-5.6.0/build-i686-w64-mingw32/lib -lQt5QmlDevTools -L/usr/i686-w64-mingw32/lib -lQt5Bootstrap -lpthread /usr/bin/ld: .obj/main.o: undefined reference to symbol '_ZTVN10__cxxabiv117__class_type_infoE@@CXXABI_1.3' /usr/lib/libstdc++.so.6: error adding symbols: DSO missing from command line collect2: error:ld returned 1 Makefile:102: recipe for target '../../bin/qmlimportscanner' failed make[2]: *** [../../bin/qmlimportscanner] Error 1 make[2]: Leaving directory '/home/michael/.cache/pacaur/mingw-w64-qt5-declarative/src/qtdeclarative-opensource-src-5.6.0/build-i686-w64-mingw32/tools/qmlimportscanner' Makefile:71: recipe for target 'sub-qmlimportscanner-make_first' failed make[1]: *** [sub-qmlimportscanner-make_first] Error 2

ant32 commented on 2013-10-28 16:51 (UTC)

added staticlibs and removed !libtool repo and binaries https://sourceforge.net/p/mingw-w64-archlinux/wiki

ant32 commented on 2013-10-08 00:22 (UTC)

Created an updated PKGBUILD https://github.com/ant32/pkgbuild/blob/master/mingw-w64-qt5-declarative/PKGBUILD. I'll probably upload the updated PKGBUILD tomorrow. I want to test it a bit more tomorrow yet. If someone could confirm that it works I'd love to hear it. Thank you @xantares for the comment! :)

xantares commented on 2013-10-07 19:12 (UTC)

Hi, There are useless libtool (.la) files in arch/lib, please add !libtool option x.

ant32 commented on 2013-08-15 22:09 (UTC)

I have created a Qt 5.1.0 src tarball http://db.tt/cSZtSkKG. I have not tested other then that it seemed to compile fine. Here is the link to the compiled package http://db.tt/gu57vTUZ. Download other compiled mingw-w64 packages at http://arch.linuxx.org.