https://bugs.kde.org/show_bug.cgi?id=468255

            Bug ID: 468255
           Summary: Cannot build: Qt5LinguistTools is missing
    Classification: Applications
           Product: ghostwriter
           Version: unspecified
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: megan.con...@kdemail.net
          Reporter: prsunflo...@disroot.org
  Target Milestone: ---

SUMMARY
Hello fellow community :slightly_smiling_face: 

I am building Ghostwriter from source but when running **cmake** it runs into
an error saying "Could not find a package configuration file provided by
"Qt5LinguistTools"".


STEPS TO REPRODUCE
1. I have followed the steps to "have the necessary packages installed for Qt 5
and KDE Frameworks"
2. The command "`cmake ..`" runs into a fatal error so I cannot continue

OBSERVED RESULT
```
user@PC:~/Builds/ghostwriter/build$ cmake ..
-- The CXX compiler identification is GNU 12.2.0
-- 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
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Setting build type to 'Debug' as none was specified.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
CMake Error at /usr/share/ECM/modules/ECMPoQmTools.cmake:149 (find_package):
  Could not find a package configuration file provided by "Qt5LinguistTools"
  with any of the following names:

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  /usr/share/ECM/modules/ECMPoQmTools.cmake:242 (ecm_process_po_files_as_qm)
  CMakeLists.txt:46 (ecm_install_po_files_as_qm)


-- Configuring incomplete, errors occurred!
See also "/home/user/Builds/ghostwriter/build/CMakeFiles/CMakeOutput.log".
```

EXPECTED RESULT
No errors, so I can continue with `make` and `make install`.

SOFTWARE/OS VERSIONS
Linux **Debian Testing**, currently on 12 'bookworm'
Qt Version: Qt5? (I followed the instructions to build ghostwriter)

ADDITIONAL INFORMATION
I would be grateful if someone could assist me :slightly_smiling_face:

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to