[ghostwriter] [Bug 468255] Cannot build: Qt5LinguistTools is missing

2023-08-11 Thread Pr. Sunflower
https://bugs.kde.org/show_bug.cgi?id=468255

Pr. Sunflower  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED

--- Comment #5 from Pr. Sunflower  ---
(In reply to megan.conkle from comment #4)
> Sorry for the late reply.  It looks like you need to install hunspell:

Hello 👋

I have re-done all steps from scratch and it works fine now 😮  

Maybe it's installing "libhunspell-dev" that solved my problem. 🙂   Here's what
I've done:

```
sudo apt install g++ qtbase5-dev libqt5svg5-dev qtmultimedia5-dev
qtwebengine5-dev pkg-config libqt5concurrent5 qttools5-dev-tools qttools5-dev
libkf5coreaddons-dev libkf5xmlgui-dev libkf5configwidgets-dev libkf5sonnet-dev
libkf5doctools5 libkf5doctools-dev cmake extra-cmake-modules libhunspell-dev

cd ghostwriter/

mkdir build

cd build

cmake ..

sudo make -j`nproc`

sudo make install
```

Thank you for your support 🙂

I wish you all the best in your projects 🍀

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

[ghostwriter] [Bug 468255] Cannot build: Qt5LinguistTools is missing

2023-06-17 Thread Pr. Sunflower
https://bugs.kde.org/show_bug.cgi?id=468255

--- Comment #3 from Pr. Sunflower  ---
(In reply to megan.conkle from comment #1)

Hello Megan, I hope you are well 🙂

Just to ask if you've had the opportunity to look at my response?

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

[ghostwriter] [Bug 468255] Cannot build: Qt5LinguistTools is missing

2023-05-06 Thread Pr. Sunflower
https://bugs.kde.org/show_bug.cgi?id=468255

--- Comment #2 from Pr. Sunflower  ---
(In reply to megan.conkle from comment #1)
> Try installing the qttools5-dev package. I had thought qttools5-dev-tools 
> would have contained the Qt5LinguistTools, but apparently not. 

Thank you for helping me! 😁   I have successfully installed all necessary
packages but I am having a different error now 😅

Do you mind looking at it?

```
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
-- Using Font Awesome Free
-- The following OPTIONAL packages have been found:

 * Qt5Core (required version >= 5.15.2)
 * KF5DocTools (required version >= 5.90), Tools to generate documentation

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.90)
 * Qt5LinguistTools
 * Qt5Gui
 * Qt5Widgets
 * Qt5 (required version >= 5.15.2)

-- The C compiler identification is GNU 12.2.0
-- 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
-- Performing Test HAVE_FLAG_ADDRESS_SANITIZER
-- Performing Test HAVE_FLAG_ADDRESS_SANITIZER - Failed
-- Performing Test HAVE_FLAG_SANITIZE_ADDRESS
-- Performing Test HAVE_FLAG_SANITIZE_ADDRESS - Success
-- Checking _FILE_OFFSET_BITS for large files
-- Checking _FILE_OFFSET_BITS for large files - not needed
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Performing Test HAVE___BUILTIN_EXPECT
-- Performing Test HAVE___BUILTIN_EXPECT - Success
-- Performing Test HAVE___ATTRIBUTE__
-- Performing Test HAVE___ATTRIBUTE__ - Success
CMake Deprecation Warning at
/usr/share/cmake-3.25/Modules/GenerateExportHeader.cmake:427 (message):
  The add_compiler_export_flags function is obsolete.  Use the
  CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
  instead.
Call Stack (most recent call first):
  3rdparty/cmark-gfm/extensions/CMakeLists.txt:31 (add_compiler_export_flags)


-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
-- Checking for module 'hunspell'
--   Package 'hunspell', required by 'virtual:world', not found
CMake Error at /usr/share/cmake-3.25/Modules/FindPkgConfig.cmake:607 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.25/Modules/FindPkgConfig.cmake:829
(_pkg_check_modules_internal)
  src/CMakeLists.txt:74 (pkg_check_modules)


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

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

[ghostwriter] [Bug 468255] New: Cannot build: Qt5LinguistTools is missing

2023-04-07 Thread Pr. Sunflower
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.