# FYI : small patch to build Slicer on Arch Linux

Building Slicer at 5ecfcc37a51 failed on Arch Linux, with QSignalSpy not found message.

This patch is required for a successful build :

``````\$ git diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5158d8759..8aa04ccd8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -608,6 +608,7 @@ endif()
# This component is needed for building VTK
if(UNIX AND NOT APPLE)
list(APPEND Slicer_REQUIRED_QT_MODULES X11Extras)
+    list(APPEND Slicer_REQUIRED_QT_MODULES Test)
endif()

find_package(Qt5 COMPONENTS Core QUIET)
``````

Just FYI, in case it would need a fix somewhere, if it’s not Arch specific.

3 Likes

Thank you @chir.set. This looks to me related to the following PR

The bottom line is that we need to conciliate the Slicer Qt requirements with those of CTK as @jcfr suggested in the PR. I’ll try to give more priority to solve this issue so these types of errors don’t occur in the future

Here’s the corresponding issue report:

1 Like

@chir.set, @jamesobutler Slicer/Slicer#6437 and Slicer/Slicer#6165 point to similar problems but are not exactly the same. One refers to a compilation error when building slicer and the other refers to a possible configuration error on CTK when building the superbuild. Sorry for the confusion.