Wireshark-dev: Re: [Wireshark-dev] Qt6 environment on Linux

From: Roland Knall <rknall@xxxxxxxxx>
Date: Tue, 21 Jun 2022 15:48:11 +0200
Search for qmake, which should be in the bin directory of your Qt6 installation. Note this directory and add it to your  global PATH (or CMAKE_PREFIX_PATH). Then cmake should be able to pickup the right packages automatically. 

cheers
Roland

Am Di., 21. Juni 2022 um 15:43 Uhr schrieb Jirka Novak <j.novak@xxxxxxxxxxxx>:
Hi,

   I would like to start testing/developing wireshark with Qt6. I'm
working on Fedora Core 35. I installed all Qt6 libraries (I hope all
required), but I can't make first cmake work.
   I checked tools/rpm-setup.sh, but it is for qt5 only.

   I removed CMakeCache.txt and use:

cmake -DUSE_qt6=true CMakeLists.txt

   but I'm receiving:

CMake Error at CMakeLists.txt:1235 (find_package):
   By not providing "FindQt6LinguistTools.cmake" in CMAKE_MODULE_PATH this
   project has asked CMake to find a package configuration file provided by
   "Qt6LinguistTools", but CMake did not find one.

   Could not find a package configuration file provided by
"Qt6LinguistTools"
   with any of the following names:

     Qt6LinguistToolsConfig.cmake
     qt6linguisttools-config.cmake

   Add the installation prefix of "Qt6LinguistTools" to CMAKE_PREFIX_PATH or
   set "Qt6LinguistTools_DIR" to a directory containing one of the above
   files.  If "Qt6LinguistTools" provides a separate development package or
   SDK, be sure it has been installed.


   I installed qt6-linguist already and there is no -devel package, but
there was no qt5-linguist-devel package too.

   Any advice welcomed.

                                Best regards,

                                                Jirka Novak
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe