Make Qt4 build support working again by specifing -DBUILD_QT4=1 on cmake configure line

Review Request #130236 - Created Aug. 28, 2017 and submitted

Information
Ralf Habacker
alkimia
2c091b5...
Reviewers
kmymoney, skrooge

The installed package is coinstallable with the Qt5 variant.
See README.md for more details how to use.

Required for building stable kmymoney releases, which are Qt4 based.

REVIEW:130236

  • compiled for qt4 and qt5
  • used to build with kmymoney4 and kmymoney/KF5
  • installation gives install tree for qt4:
    tmp/usr/local/include/alkimia/Qt4/alkimia/alkcompany.h
    tmp/usr/local/include/alkimia/Qt4/alkimia/alkvalue.h
    tmp/usr/local/include/alkimia/Qt4/alkimia/alk_export.h
    tmp/usr/local/include/alkimia/Qt4/alkimia/alkquoteitem.h
    tmp/usr/local/lib64/libalkimia.so
    tmp/usr/local/lib64/libalkimia.so.7
    tmp/usr/local/lib64/libalkimia.so.7.0.90
    tmp/usr/local/lib64/pkgconfig/libalkimia.pc
    tmp/usr/local/lib64/cmake/LibAlkimia-7.0
    tmp/usr/local/lib64/cmake/LibAlkimia-7.0/LibAlkimiaConfig.cmake
    tmp/usr/local/lib64/cmake/LibAlkimia-7.0/LibAlkimiaTargets-noconfig.cmake
    tmp/usr/local/lib64/cmake/LibAlkimia-7.0/LibAlkimiaConfigVersion.cmake
    tmp/usr/local/lib64/cmake/LibAlkimia-7.0/LibAlkimiaTargets.cmake
    tmp/usr/local/lib64/cmake/LibAlkimia-7.0/FindGMP.cmake

  • file content of libalkimia.pc

pkg-config configuration for libalkimia

For information about the syntax, see pkg-config(1)

General installation directories

prefix=/usr/local
exec_prefix=/usr/local
libdir=
includedir=include/alkimia/Qt4

Human-readable name

Name: Alkimia

Human-readable description

Description: A library for financial data handling
Version: 7.0.90

Libs: -lalkimia
Libs.private: -lgmp -lQtCore -lQtDBus -lstdc++
Cflags: -I${includedir}

  • installation gives install tree for qt5:
    tmp/usr/local/include/alkimia/Qt5/alkimia/alkcompany.h
    tmp/usr/local/include/alkimia/Qt5/alkimia/alkvalue.h
    tmp/usr/local/include/alkimia/Qt5/alkimia/alk_export.h
    tmp/usr/local/include/alkimia/Qt5/alkimia/alkquoteitem.h
    tmp/usr/local/lib64/libalkimia5.so
    tmp/usr/local/lib64/libalkimia5.so.7
    tmp/usr/local/lib64/libalkimia5.so.7.0.90
    tmp/usr/local/lib64/pkgconfig/libalkimia5.pc
    tmp/usr/local/lib64/cmake/LibAlkimia5-7.0/LibAlkimia5Config.cmake
    tmp/usr/local/lib64/cmake/LibAlkimia5-7.0/LibAlkimia5Targets.cmake
    tmp/usr/local/lib64/cmake/LibAlkimia5-7.0/LibAlkimia5ConfigVersion.cmake
    tmp/usr/local/lib64/cmake/LibAlkimia5-7.0/LibAlkimia5Targets-noconfig.cmake
    tmp/usr/local/lib64/cmake/LibAlkimia5-7.0/FindGMP.cmake

  • file content of libalkimia5.pc

pkg-config configuration for libalkimia

For information about the syntax, see pkg-config(1)

General installation directories

prefix=/usr/local
exec_prefix=/usr/local
libdir=
includedir=include/alkimia/Qt5

Human-readable name

Name: Alkimia

Human-readable description

Description: A library for financial data handling
Version: 7.0.90

Libs: -lalkimia5
Libs.private: -lgmp -lQt5Core -lQt5DBus -lstdc++
Cflags: -I${includedir}

Thomas Baumgart
Ralf Habacker
Ralf Habacker
Thomas Baumgart
Ralf Habacker
Ralf Habacker
Jack Ostroff
Jack Ostroff
Ralf Habacker
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 612dffa921b76234b8dbaceed3185e8fd806d8c8 by Ralf Habacker to branch master.
Loading...