|
From: Curtis O. <cur...@fl...> - 2016-12-19 17:14:38
|
On fedora I needed to install the devel package for qt5 websockets: dnf
install qt5-qtwebsockets-devel
I also needed to run cmake explicitly before it would find the library
(just running make and having it call cmake bits as needed didn't work.)
Hope that helps,
Curt.
On Mon, Dec 19, 2016 at 10:53 AM <wki...@gm...> wrote:
On 12/19/2016 11:29 AM, wki...@gm... wrote:
> On 12/18/2016 12:01 PM, Florent Rougon wrote:
>> But as I said, installing the package is not a big problem.
>
> $ sudo aptitude install libqt5webkit5-dev
> The following NEW packages will be installed:
> gir1.2-gst-plugins-base-1.0{a} gir1.2-gstreamer-1.0{a}
> libgstreamer-plugins-base1.0-dev{a} libgstreamer1.0-dev{a} libqt53d5{a}
> libqt5location5{a} libqt5location5-plugins{a}
> libqt5positioning5{a} libqt5positioning5-plugins{a} libqt5qml5{a}
> libqt5quick5{a} libqt5quickparticles5{a} libqt5quicktest5{a}
libqt5sensors5{a}
> libqt5sensors5-dev{a} libqt5webkit5{a}
> libqt5webkit5-dev libxslt1-dev{a} qtdeclarative5-dev{a}
qtlocation5-dev{a}
> qtpositioning5-dev{a} qtsensors5-dev{a}
> 0 packages upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
> Need to get 13.4 MB of archives. After unpacking 63.3 MB will be used.
>
>
> yuck!
so i went ahead and installed the above and tried a second dnc run...
********** 20161219_113354EST **********
********** Total elapsed update and compile time is 2m 46s **********
PLib: 1b3b3e1d7689a85a50720f112614022c65d592bb
OSG: ecc49cc6f39711217601abc21f8ab1025347b60c
Simgear: a48ab434abd8b0a8ee8f3fd04e104ba5c27a6e8b
FGFS: 351dfdb49891fe5c5c9aa3fb83a8fb27ebeda378
FGData: adde60a9942f9e86f5e68f438fe0cd88c0d9c1a0
FGAddon: r2353 | lbrenta | 2016-12-18 11:00:25 -0500 (Sun, 18 Dec 2016)
i'm (still??) met with the following... i thought this was fixed already?
now
what? do i need to reboot? this ain't winwhatever :?
===== snip =====
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:26
(find_package):
Could not find a package configuration file provided by "Qt5WebSockets"
with any of the following names:
Qt5WebSocketsConfig.cmake
qt5websockets-config.cmake
Add the installation prefix of "Qt5WebSockets" to CMAKE_PREFIX_PATH or
set
"Qt5WebSockets_DIR" to a directory containing one of the above files. If
"Qt5WebSockets" provides a separate development package or SDK, be sure
it
has been installed.
Call Stack (most recent call first):
utils/fgqcanvas/CMakeLists.txt:7 (find_package)
CMake Warning at utils/fgqcanvas/CMakeLists.txt:7 (find_package):
Found package configuration file:
/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake
but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
FOUND. Reason given by package:
Failed to find Qt5 component "WebSockets" config file at
"/usr/lib/x86_64-linux-gnu/cmake/Qt5WebSockets/Qt5WebSocketsConfig.cmake"
-- Qt5 version: 5.2.1
-- Qt5 include dir:
/usr/include/qt5/;/usr/include/qt5/QtWidgets;/usr/include/qt5/QtGui;/usr/include/qt5/QtCore;/usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++-64
[...]
-- Configuring done
CMake Error at utils/fgqcanvas/CMakeLists.txt:43 (add_executable):
Target "fgqcanvas" links to target "Qt5::WebSockets" but the target was
not
found. Perhaps a find_package() call is missing for an IMPORTED target,
or
an ALIAS target is missing?
-- Generating done
[...]
Scanning dependencies of target fgcom
[ 32%] Building CXX object utils/fgcom/CMakeFiles/fgcom.dir/fgcom.cxx.o
[ 35%] Built target yasim
In file included from
/home/myuser/flightgear-dev/next/flightgear/utils/fgqcanvas/temporarywidget.cpp:1:0:
/home/myuser/flightgear-dev/next/flightgear/utils/fgqcanvas/temporarywidget.h:5:35:
fatal error: QtWebSockets/QWebSocket: No such file or directory
#include <QtWebSockets/QWebSocket>
^
compilation terminated.
[...]
[ 39%] Built target yasim-proptest
[ 39%] Building CXX object
utils/fgqcanvas/CMakeFiles/fgqcanvas.dir/fgcanvaselement.cpp.o
In file included from
/home/myuser/flightgear-dev/next/flightgear/utils/fgqcanvas/main.cpp:1:0:
/home/myuser/flightgear-dev/next/flightgear/utils/fgqcanvas/temporarywidget.h:5:35:
fatal error: QtWebSockets/QWebSocket: No such file or directory
#include <QtWebSockets/QWebSocket>
^
compilation terminated.
Scanning dependencies of target fglauncher
[ 39%] Building CXX object
src/GUI/CMakeFiles/fglauncher.dir/QtLauncher.cxx.o
make[2]: ***
[utils/fgqcanvas/CMakeFiles/fgqcanvas.dir/temporarywidget.cpp.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
[ 40%] Building CXX object
src/GUI/CMakeFiles/fglauncher.dir/BaseDiagram.cxx.o
make[2]: *** [utils/fgqcanvas/CMakeFiles/fgqcanvas.dir/main.cpp.o] Error 1
[ 40%] Building CXX object
src/GUI/CMakeFiles/fglauncher.dir/AirportDiagram.cxx.o
[ 40%] Building CXX object
src/GUI/CMakeFiles/fglauncher.dir/NavaidDiagram.cxx.o
make[1]: *** [utils/fgqcanvas/CMakeFiles/fgqcanvas.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[...]
[ 42%] Building CXX object
src/GUI/CMakeFiles/fglauncher.dir/LocationWidget.cxx.o
/home/myuser/flightgear-dev/next/flightgear/src/GUI/AircraftModel.cxx: In
member
function ‘QVariant
AircraftItemModel::packageThumbnail(simgear::pkg::PackageRef,
const AircraftItemModel::DelegateState&, bool) const’:
/home/myuser/flightgear-dev/next/flightgear/src/GUI/AircraftModel.cxx:780:59:
warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
if (ds.thumbnail >= static_cast<int>(thumbnails.size())) {
^
/home/myuser/flightgear-dev/next/flightgear/src/GUI/AircraftModel.cxx: In
member
function ‘virtual bool AircraftItemModel::setData(const QModelIndex&, const
QVariant&, int)’:
/home/myuser/flightgear-dev/next/flightgear/src/GUI/AircraftModel.cxx:825:48:
warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
if (m_delegateStates[row].variant == newValue) {
^
/home/myuser/flightgear-dev/next/flightgear/src/GUI/AircraftModel.cxx:835:50:
warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
if (m_delegateStates[row].thumbnail == newValue) {
^
[ 42%] Building CXX object
src/GUI/CMakeFiles/fglauncher.dir/QtMessageBox.cxx.o
[...]
[ 44%] Built target fglauncher
make: *** [all] Error 2
[...]
[ 20%] Automatic moc for target fgqcanvas
[ 20%] Built target fgqcanvas_automoc
[ 20%] Building CXX object
utils/fgqcanvas/CMakeFiles/fgqcanvas.dir/temporarywidget.cpp.o
In file included from
/home/myuser/flightgear-dev/next/flightgear/utils/fgqcanvas/temporarywidget.cpp:1:0:
/home/myuser/flightgear-dev/next/flightgear/utils/fgqcanvas/temporarywidget.h:5:35:
fatal error: QtWebSockets/QWebSocket: No such file or directory
#include <QtWebSockets/QWebSocket>
^
compilation terminated.
make[2]: ***
[utils/fgqcanvas/CMakeFiles/fgqcanvas.dir/temporarywidget.cpp.o]
Error 1
make[1]: *** [utils/fgqcanvas/CMakeFiles/fgqcanvas.dir/all] Error 2
make: *** [all] Error 2
===== snip =====
--
NOTE: No off-list assistance is given without prior approval.
*Please keep mailing list traffic on the list* unless
private contact is specifically requested and granted.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Flightgear-devel mailing list
Fli...@li...
https://lists.sourceforge.net/lists/listinfo/flightgear-devel
|