Skip to content

Help building on Guix #23

@Erudition

Description

@Erudition

I'm close to getting sane-break to work on Guix. Since the dependencies are different in Guix, I basically just try to build the source, judge from the errors what deps are missing, and add them to the environment to see if it goes further. Here is what I have so far:

guix shell cmake qtmultimedia libxkbcommon layer-shell-qt vulkan-headers qtbase@6.7.2 qtwayland@6

However I'm getting a weird issue with a missing function that is supposedly in Qt::Widgets, though that module should already be provided in qtbase, and the Cmake List has a requirement check for that module that doesn't fail...

~/Software/sane-break/build [env]$ cmake ..
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/adroit/.guix-home/profile/bin/gcc - 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: /home/adroit/.guix-home/profile/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /gnu/store/w7h1b7i1yn98rh2i8md77hr7k7hn8psz-profile/lib/libGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /gnu/store/w7h1b7i1yn98rh2i8md77hr7k7hn8psz-profile/lib/libxkbcommon.so (Required is at least version "0.5.0")
-- Found WrapVulkanHeaders: /gnu/store/w7h1b7i1yn98rh2i8md77hr7k7hn8psz-profile/include
CMake Error at CMakeLists.txt:42 (qt_add_ui):
  Unknown CMake command "qt_add_ui".


-- Configuring incomplete, errors occurred!

Can't seem to find a package that fixes it, and there's nothing online on this particular error. What could cause qt_add_ui to be unavailable?

qt_add_ui(sane-break SOURCES src/pref-window.ui)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions