Package Base Details: qt-installer-framework

Git Clone URL: (read-only, click to copy)
Submitter: Schala
Maintainer: Muflone (Skycoder42)
Last Packager: Muflone
Votes: 82
Popularity: 0.27
First Submitted: 2014-07-10 20:06 (UTC)
Last Updated: 2022-01-29 17:47 (UTC)

Latest Comments

langfingaz commented on 2022-01-31 18:19 (UTC)

Thanks for letting us know @rany. This also solves my problem reported here some time ago.

rany commented on 2021-11-16 21:36 (UTC) (edited on 2021-11-16 21:36 (UTC) by rany)

Hi, apologies for my previous comment. It turns out that the container I was using ( base-devel) has the following in its pacman.conf:

NoExtract  = usr/share/help/* !usr/share/help/en*
NoExtract  = usr/share/gtk-doc/html/* usr/share/doc/*
NoExtract  = usr/share/locale/* usr/share/X11/locale/* usr/share/i18n/*
NoExtract   = !*locale*/en*/* !usr/share/i18n/charmaps/UTF-8.gz !usr/share/*locale*/locale.*
NoExtract   = !usr/share/*locales/en_?? !usr/share/*locales/i18n* !usr/share/*locales/iso*
NoExtract   = !usr/share/*locales/trans*
NoExtract  = usr/share/man/* usr/share/info/*
NoExtract  = usr/share/vim/vim*/lang/*

This inadvertently breaks this package. As a workaround, I've added:

NoExtract  = !usr/share/doc/qt/*

and it works fine. There are no issues with this and qt5-base was actually installed automatically, thanks!

rany commented on 2021-11-15 23:42 (UTC)

Could you please add qt5-base as a dependency? It provides the usr/share/doc/qt/global/qt-cpp-defines.qdocconf file.

Muflone commented on 2021-07-31 18:15 (UTC)

@langfingaz please check if your build environment has the missing file: usr/share/doc/qt/global/qt-cpp-defines.qdocconf

I've just tested again using a clean chroot with devtools and everything was built properly

langfingaz commented on 2021-07-27 17:20 (UTC) (edited on 2021-07-27 17:20 (UTC) by langfingaz)

@Muflone my Docker run script copies the cloned AUR repo to /tmp/pkg and then builds with --syncdeps:

cp -r /pkg/qt-installer-framework /tmp/pkg
cd /tmp/pkg
makepkg --syncdeps --noconfirm

This installed the following dependencies, including qt-base:

avahi-0.8+20+gd1e71b3-1  compiler-rt-12.0.1-2  double-conversion-3.1.5-2  fontconfig-2:2.13.94-1  freetype2-2.10.4-1  graphite-1:1.3.14-1  harfbuzz-2.8.2-1
              hicolor-icon-theme-0.17-2  libcups-1:2.3.3op2-3  libdaemon-0.14-5  libdrm-2.4.107-1  libedit-20210522_3.1-1  libevdev-1.11.0-1  libglvnd-1.3.3-1
              libgudev-236-1  libice-1.0.10-3  libinput-1.18.0-1  libjpeg-turbo-2.1.0-1  libomxil-bellagio-0.9.3-3  libpciaccess-0.16-2  libpng-1.6.37-3  libproxy-0.4.17-2
              libsm-1.2.3-2  libtiff-4.3.0-1  libunwind-1.5.0-1  libusb-1.0.24-2  libwacom-1.11-1  libx11-1.7.2-1  libxau-1.0.9-3  libxcb-1.14-1  libxdamage-1.1.5-3
              libxdmcp-1.1.3-3  libxext-1.3.4-3  libxfixes-6.0.0-1  libxi-1.7.10-3  libxkbcommon-1.3.0-1  libxkbcommon-x11-1.3.0-1  libxmu-1.1.3-2  libxrender-0.9.10-4
              libxshmfence-1.3-2  libxt-1.2.1-1  libxxf86vm-1.1.4-4  llvm-libs-12.0.1-1  lm_sensors-1:3.6.0.r41.g31d1f125-1  md4c-0.4.8-1  mesa-21.1.5-1  mtdev-1.1.6-1
              qt5-base-5.15.2+kde+r210-1  shared-mime-info-2.0+57+gc1d1c70-1  tslib-1.22-1  vulkan-icd-loader-1.2.185-1  wayland-1.19.0-1  xcb-proto-1.14.1-3
              xcb-util-0.4.0-3  xcb-util-image-0.4.0-3  xcb-util-keysyms-0.4.0-3  xcb-util-renderutil-0.3.9-3  xcb-util-wm-0.4.1-3  xdg-utils-1.1.3+19+g9816ebb-1
              xkeyboard-config-2.33-1  xorg-xprop-1.2.5-1  xorg-xset-1.2.4-2  xorgproto-2021.4-1  clang-12.0.1-1  qt5-declarative-5.15.2+kde+r29-1

But then leads to the error stated in my last comment. ¯_(ツ)_/¯

Muflone commented on 2021-07-25 23:14 (UTC)

@langfingaz the file shown in your error is contained into the qt-base package which is required from this package.

It seems an issue with your packaging way, are you installing the required dependencies before building the package?

langfingaz commented on 2021-07-25 10:11 (UTC)

Thanks for updating the package. It does however still not build for me with Docker based on archlinux:base-devel using makepkg:

make[3]: Leaving directory '/tmp/pkg/src/installer-framework-4.1.1/tools'
cd doc/ && ( test -e Makefile || /usr/sbin/qmake -o Makefile /tmp/pkg/src/installer-framework-4.1.1/doc/ ) && make -f Makefile prepare_docs
make[3]: Entering directory '/tmp/pkg/src/installer-framework-4.1.1/doc'
/usr/bin/qtattributionsscanner /tmp/pkg/src/installer-framework-4.1.1 --filter QDocModule=ifw -o /tmp/pkg/src/installer-framework-4.1.1/doc/codeattributions.qdoc
/tmp/pkg/src/installer-framework-4.1.1/doc/ -outputdir /tmp/pkg/src/installer-framework-4.1.1/doc/html -installdir /usr/share/doc/qt /tmp/pkg/src/installer-framework-4.1.1/doc/ifw.qdocconf -prepare -indexdir /usr/share/doc/qt -no-link-errors -I. -I/usr/include/qt -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore/5.15.2 -I/usr/include/qt/QtCore/5.15.2/QtCore -I/usr/include/qt/QtConcurrent -I/usr/include/qt/QtQml -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtXml -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++
qt.qdoc: Cannot find index directory:  "/usr/share/doc/qt"
In file included from /tmp/pkg/src/installer-framework-4.1.1/doc/ifw.qdocconf:2:
/tmp/pkg/src/installer-framework-4.1.1/doc/config/ifw.qdocconf:1: (qdoc) error: Cannot open file '/usr/share/doc/qt/global/qt-cpp-defines.qdocconf': No such file or directory
Cannot open file '/usr/share/doc/qt/global/qt-cpp-defines.qdocconf': No such file or directory

make[3]: *** [Makefile:350: prepare_docs] Error 1
make[3]: Leaving directory '/tmp/pkg/src/installer-framework-4.1.1/doc'
make[2]: *** [Makefile:418: sub-doc-prepare_docs] Error 2
make[2]: Leaving directory '/tmp/pkg/src/installer-framework-4.1.1'
make[1]: *** [Makefile:328: html_docs] Error 2
make[1]: Leaving directory '/tmp/pkg/src/installer-framework-4.1.1'
make: *** [Makefile:331: docs] Error 2
==> ERROR: A failure occurred in build().

langfingaz commented on 2021-06-16 14:49 (UTC) (edited on 2021-07-25 10:13 (UTC) by langfingaz)

The build of the documentation part fails for me:

make[1]: Leaving directory '/tmp/pkg/src/installer-framework-3.2.3/tools'
SRCDIR=/tmp/pkg/src/installer-framework-3.2.3/doc OUTDIR=/tmp/pkg/src/installer-framework-3.2.3/doc/html IFW_VERSION=3.2.3 IFW_VERSION_TAG=323 QT_INSTALL_DOCS=/usr/share/doc/qt /usr/bin/qdoc /tmp/pkg/src/installer-framework-3.2.3/doc/installerfw.qdocconf
In file included from /tmp/pkg/src/installer-framework-3.2.3/doc/installerfw.qdocconf:2:
/tmp/pkg/src/installer-framework-3.2.3/doc/config/ifw.qdocconf:1: (qdoc) error: Cannot open file '/usr/share/doc/qt/global/qt-cpp-defines.qdocconf': No such file or directory
Cannot open file '/usr/share/doc/qt/global/qt-cpp-defines.qdocconf': No such file or directory

make: *** [Makefile:305: html_docs] Error 1
==> ERROR: A failure occurred in build().

However, I have successfully built a modified PKGBUILD without make docs and package_qt-installer-framework-docs.

the_10 commented on 2019-12-28 09:12 (UTC)

latest version fails to build with qt 5.14 with component.cpp:53:10: fatal error: private/qv8engine_p.h: No such file or directory 53 | #include <private/qv8engine_p.h>

looks like this private include file does not exist in the latest qt5 installation

Muflone commented on 2018-06-02 22:30 (UTC)

@Skycoder42 added you as comaintainer

Skycoder42 commented on 2018-06-02 22:19 (UTC)

@Muflone: Yes, I surely am. You can add me as comaintainer if you want to

Muflone commented on 2018-06-02 19:01 (UTC)

package updated

@Skycoder42 I'm leaving the orphan request open. Are you interested in maintain or comaintain this package?

serialdormeur commented on 2018-05-26 15:10 (UTC) (edited on 2018-05-26 15:12 (UTC) by serialdormeur)

Instead of skipping sha256sum check, you can add the sha256sum

14    sha256sums=('f65059141278e0a1224a5b821ae8affe59ee4bb4b50abdc4e04f93fd69a02617')
   14 sha256sums=('07df3fb3ed65c25263523251d3e62a80dec8cf176111a3174204196910425861')

OneDeltaTenTango commented on 2018-05-25 06:05 (UTC) (edited on 2018-05-25 06:05 (UTC) by OneDeltaTenTango)

3.0.4 Seems to have fixed the "QT_VERSION" error. This is what I changed in the PKGBUILD to successfully update.

 6    pkgver=3.0.2
    6 pkgver=3.0.4
13    source=("${pkgbase}/${pkgver}/${pkgbase}-opensource-src-${pkgver}.tar.gz")
14    sha256sums=('f65059141278e0a1224a5b821ae8affe59ee4bb4b50abdc4e04f93fd69a02617')
   13 source=("${pkgbase}/${pkgver}/${pkgbase}-opensource-src-${pkgver}.gz")
   14 sha256sums=('SKIP')

Skycoder42 commented on 2018-02-25 11:18 (UTC)

Currently the build fails with:

SRCDIR=/tmp/pkg-build/qt-installer-framework/src/doc OUTDIR=/tmp/pkg-build/qt-installer-framework/src/doc/html IFW_VERSION=3.0.2 IFW_VERSION_TAG=302 QT_INSTALL_DOCS=/usr/share/doc/qt /usr/bin/qdoc /tmp/pkg-build/qt-installer-framework/src/doc/installerfw.qdocconf
In file included from /tmp/pkg-build/qt-installer-framework/src/doc/config/ifw.qdocconf:1,
/usr/share/doc/qt/global/macros.qdocconf:21: error: Environment variable 'QT_VERSION' undefined
Environment variable 'QT_VERSION' undefined

JoxX commented on 2017-12-29 14:27 (UTC)

Please update to 3.0.2, thx in advance.

Muflone commented on 2017-10-15 21:25 (UTC)

Package adopted and updated. Please note that since version 2.0.3-2 the tests are not built along with the library. Also the documentation and examples files are moved in the separated package qt-installer-framework-docs

ahjolinna commented on 2017-10-15 13:03 (UTC)

@duttondj: it would be nice if you could update this pkgs or at least bother to disown it so someone else could do it...sigh

jtmb commented on 2017-09-20 04:33 (UTC)

Thank you, @doviethoa, your proposed PKGBUILD worked for me.

doviethoa commented on 2017-08-31 10:45 (UTC) (edited on 2017-08-31 10:47 (UTC) by doviethoa)

Suggest PKGBUILD for version 2.0.5-1: # Maintainer: Danny Dutton <> pkgname="qt-installer-framework" pkgver=2.0.5 pkgrel=1 _pkgver=2.0.5-1 _qtver=5.4.2 pkgdesc="The Qt Installer Framework used for the Qt SDK installer." arch=('i686' 'x86_64') url='' license=('FDL' 'LGPL') makedepends=("qt5-base>=${_qtver}" "qt5-tools>=${_qtver}" "qt5-declarative>=${_qtver}") groups=('qt' 'qt5') _pkgfqn="${pkgname}-opensource-${_pkgver}-src" source=("${pkgname}/${_pkgver}/${_pkgfqn}.tar.gz") md5sums=('12d646e9016115895365c7db4d653d0e') build() { cd "${srcdir}" qmake-qt5 ./ make -j4 make docs -j4 cd "${srcdir}/tests" qmake-qt5 ./ make -j4 } package() { install -d ${pkgdir}/usr/{bin,lib,share/{${pkgname},doc/{qt,${pkgname}},licenses/${pkgname}}} cd "${srcdir}" install -m644 LICENSE.FDL "${pkgdir}/usr/share/licenses/${pkgname}/" install -m644 LICENSE.GPL3-EXCEPT "${pkgdir}/usr/share/licenses/${pkgname}/" cp -a ./bin/* "${pkgdir}/usr/bin/" cp -a ./lib/* "${pkgdir}/usr/lib/" cp -a "./doc/html" "${pkgdir}/usr/share/doc/${pkgname}/" cp "./doc/ifw.qch" "${pkgdir}/usr/share/doc/qt/" cp -a "./tests" "${pkgdir}/usr/share/${pkgname}/" cp -a "./examples" "${pkgdir}/usr/share/${pkgname}/" }

rtfreedman commented on 2017-07-23 20:39 (UTC)

Please update to

commented on 2016-12-31 12:24 (UTC)

**EDIT:** Never mind I'm installing qt-installer-framework now with makepkg. I just don't understand why the foxitreader package didn't do that for me. Thanks for this package. What's up with qt-installer-framework? [robert@designbox ~]# cd /tmp/foxitreader [robert@designbox foxitreader]# makepkg -si ==> Making package: foxitreader 2.2.1025-1 (Sat 31 Dec 2016 12:58:50 CET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [sudo] password for robert: error: target not found: qt-installer-framework ==> ERROR: 'pacman' failed to install missing dependencies.

commented on 2016-12-31 12:17 (UTC)

OK, I'll leave it for the NY then. Have a good one. And see you on the other side.

duttondj commented on 2016-05-24 22:24 (UTC)

Not totally sure what the issue is for you. I receive the same errors but the make doesn't fail for me. It's an upstream issue that can be replicated by running "make docs".

JohnRobson commented on 2016-05-20 00:05 (UTC)

In file included from /tmp/yaourt-tmp-us/aur-qt-installer-framework/src/qt-installer-framework-opensource-2.0.3-src/doc/installerfw.qdocconf:2: /tmp/yaourt-tmp-us/aur-qt-installer-framework/src/qt-installer-framework-opensource-2.0.3-src/doc/config/ifw.qdocconf:1: error: Cannot open file '/usr/share/doc/qt/global/macros.qdocconf': No such file or directory Cannot open file '/usr/share/doc/qt/global/macros.qdocconf': No such file or directory Aborting Makefile:636: recipe for target 'html_docs' failed make: *** [html_docs] Error 1 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build qt-installer-framework. ==> Restart building qt-installer-framework ? [y/N] ==> ----------------------------------------------- ==> ==> ERROR: unable to update

outofdate2 commented on 2016-05-14 17:33 (UTC)

Sources: http -> https pls

duttondj commented on 2016-03-29 15:01 (UTC)

Updated dependencies

rekill commented on 2016-03-29 08:39 (UTC)

ERROR: A failure occurred in build(). Project ERROR: Unknown module(s) in QT: qml qml located in package qt5-declarative Please add qt5-declarative dependency

duttondj commented on 2015-11-16 23:29 (UTC)

Adopted the package so I could add the qt5-tools dependency.

t0m5k1 commented on 2015-11-10 18:36 (UTC)

==> Making package: qt-installer-framework 2.0.1-1 (Tue 10 Nov 18:33:23 GMT 2015) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found qt-installer-framework-opensource-2.0.1-src.tar.gz ==> Validating source files with md5sums... qt-installer-framework-opensource-2.0.1-src.tar.gz ... Passed ==> Extracting sources... -> Extracting qt-installer-framework-opensource-2.0.1-src.tar.gz with bsdtar ==> Removing existing $pkgdir/ directory... ==> Starting build()... fatal: Not a git repository (or any of the parent directories): .git cd src/ && ( test -e Makefile || /usr/bin/qmake-qt5 /var/cache/pacman/builds/qt-installer-framework/src/qt-installer-framework-opensource-2.0.1-src/src/ -o Makefile ) && make -f Makefile make[1]: Entering directory '/var/cache/pacman/builds/qt-installer-framework/src/qt-installer-framework-opensource-2.0.1-src/src' cd libs/ && ( test -e Makefile || /usr/bin/qmake-qt5 /var/cache/pacman/builds/qt-installer-framework/src/qt-installer-framework-opensource-2.0.1-src/src/libs/ -o Makefile ) && make -f Makefile make[2]: Entering directory '/var/cache/pacman/builds/qt-installer-framework/src/qt-installer-framework-opensource-2.0.1-src/src/libs' cd 7zip/ && ( test -e Makefile || /usr/bin/qmake-qt5 /var/cache/pacman/builds/qt-installer-framework/src/qt-installer-framework-opensource-2.0.1-src/src/libs/7zip/ -o Makefile ) && make -f Makefile fatal: Not a git repository (or any of the parent directories): .git Project ERROR: Unknown module(s) in QT: uitools Makefile:43: recipe for target 'sub-7zip-make_first-ordered' failed make[2]: *** [sub-7zip-make_first-ordered] Error 3 make[2]: Leaving directory '/var/cache/pacman/builds/qt-installer-framework/src/qt-installer-framework-opensource-2.0.1-src/src/libs' Makefile:43: recipe for target 'sub-libs-make_first-ordered' failed make[1]: *** [sub-libs-make_first-ordered] Error 2 make[1]: Leaving directory '/var/cache/pacman/builds/qt-installer-framework/src/qt-installer-framework-opensource-2.0.1-src/src' Makefile:43: recipe for target 'sub-src-make_first-ordered' failed make: *** [sub-src-make_first-ordered] Error 2 any clues as to how I fix this?

Muflone commented on 2015-11-01 17:37 (UTC)

Please add qt5-tools dependency

ismd commented on 2015-10-24 07:24 (UTC)

It's also depends on qt5-tools