FedoraQt / QGnomePlatform

QPlatformTheme for a better Qt application inclusion in GNOME
GNU Lesser General Public License v2.1
263 stars 38 forks source link

Build Failure on Arch #152

Closed radumitrescu closed 1 year ago

radumitrescu commented 1 year ago
==> Making package: qgnomeplatform-git 0.7.0.r78.g6505fb8-1 (Thu 07 Sep 2023 14:09:51 EEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning QGnomePlatform git repo...
Cloning into bare repository '/var/tmp/pamac-build-radu/qgnomeplatform-git/QGnomePlatform'...
==> Validating source files with sha256sums...
    QGnomePlatform ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of QGnomePlatform git repo...
Cloning into 'QGnomePlatform'...
done.
==> Starting pkgver()...
==> Updated version: qgnomeplatform-git 0.7.0.r99.gd86d6ba-1
==> Starting build()...
CMake Warning (dev) at CMakeLists.txt:1 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake Error at /usr/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5QuickControls2"
  with any of the following names:

    Qt5QuickControls2Config.cmake
    qt5quickcontrols2-config.cmake

  Add the installation prefix of "Qt5QuickControls2" to CMAKE_PREFIX_PATH or
  set "Qt5QuickControls2_DIR" to a directory containing one of the above
  files.  If "Qt5QuickControls2" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:34 (find_package)

-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
grulja commented 1 year ago

I believe you are missing qtdeclarative-dev or whatever it is named in Archlinux. In Fedora it's qt5-qtdeclarative-devel.

radumitrescu commented 1 year ago

I believe you are missing qtdeclarative-dev or whatever it is named in Archlinux. In Fedora it's qt5-qtdeclarative-devel.

Both qt5-declarative and qt6-declarative are installed.

grulja commented 1 year ago

I believe you are missing qtdeclarative-dev or whatever it is named in Archlinux. In Fedora it's qt5-qtdeclarative-devel.

Both qt5-declarative and qt6-declarative are installed.

You need development packages for those.

radumitrescu commented 1 year ago

I am just now replacing them with the respective -git packages. Let's see how it goes.

grulja commented 1 year ago

I am just now replacing them with the respective -git packages. Let's see how it goes.

That's not what I mean. Usually qt5-declarative will be a package with libraries to run applications, but when you want to develop applications using these libraries, you need header files and these are usually in qt5-declarative-dev package. It doesn't make sense to ship header files for normal users so it's usually split out.

radumitrescu commented 1 year ago

qt5-declarative-dev

There are no dev packages available in the AUR.

I've used the regular qgnomeplatform-qt5 package for the last couple of years with no issues at all. Something changed recently and it fails to build.