Comments (19)
need to do some changes for it ... at this state it is not possible.
from qt-virt-manager.
if this is a "very very very" necessity then give me call...
from qt-virt-manager.
"very very very necessity" no, i can use virt-manager instead, this petition is because i want use a Qt instead of GTK client without spice support (not needed in my setup)
from qt-virt-manager.
try to build and works... hurried, there may be mistakes...
from qt-virt-manager.
still needed
tested with;
cmake ../qt-virt-manager \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_QT_VERSION=5 \
-WITH_LIBCACARD=OFF \
-USE_SPICE_AUDIO=OFF \
-ONLY_SPICE_BUILD=OFF \
-ONLY_VNC_BUILD=OFF
i'm not programmer, but seems need remove this semaphore:
https://github.com/F1ash/qt-virt-manager/blob/master/CMakeLists.txt#L1125-#L1129
greetings
from qt-virt-manager.
No, sorry...
It can be seems as:cmake ../qt-virt-manager
-DCMAKE_INSTALL_PREFIX=/usr \ // is default
-DCMAKE_BUILD_TYPE=Release
-DBUILD_QT_VERSION=5
-DWITH_LIBCACARD=0 \ // -WITH_LIBCACARD=OFF
-DONLY_VNC_BUILD=1 // for build VNC support only
from qt-virt-manager.
wait for questions...
from qt-virt-manager.
no (at all), i want build without vnc and spice, also without libcacard (all OFF in cmake options)
the cmake options is "OK"
OK between quotes because do nothing if add -D
in these options, seems is never defined. see cmake-gui
output
the console output is:
-- The CXX compiler identification is GNU 7.2.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Build with QT version: 5
-- QT4 build: 0
-- QT5 build: 1
--
-- LIB_SUFFIX variable is not defined. It will be autodetected now.
-- You can set it manually with -DLIB_SUFFIX=<value> (64 for example)
-- LIB_SUFFIX is set to '64'
--
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Found GLib2: /usr/lib/libglib-2.0.so
-- Checking for module 'gobject-2.0'
-- Found gobject-2.0, version 2.54.0
-- Found GObject libraries: /usr/lib/libgobject-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libglib-2.0.so
-- Found GObject includes : /usr/include/glib-2.0/gobject
-- Checking for module 'gio-2.0'
-- Found gio-2.0, version 2.54.0
-- Found Gio libraries: /usr/lib/libgio-2.0.so
-- Found Gio includes : /usr/include/glib-2.0/gio
-- Found LibVirt: /usr/lib/libvirt.so
CMake Error at /usr/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Spice1 (missing: Spice1_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
cmake/FindSpice1.cmake:26 (find_package_handle_standard_args)
CMakeLists.txt:1126 (find_package)
-- Configuring incomplete, errors occurred!
See also "/tmp/makepkg/qt-virt-manager-git/src/build/CMakeFiles/CMakeOutput.log".
from qt-virt-manager.
EDIT: in test this patch:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ffb96c81..c7b16bb2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -123,10 +123,6 @@ endif ()
if ( NOT ONLY_VNC_BUILD AND ONLY_SPICE_BUILD )
list(APPEND HEADERS_FOR_VIEWER ${QSPICE_HEADERS})
endif ()
-if ( NOT ONLY_SPICE_BUILD AND NOT ONLY_VNC_BUILD )
- list(APPEND HEADERS_FOR_VIEWER
- ${QSPICE_HEADERS} ${QVNC_HEADERS})
-endif ()
if ( ONLY_SPICE_BUILD AND ONLY_VNC_BUILD )
list(APPEND HEADERS_FOR_VIEWER
${QSPICE_HEADERS} ${QVNC_HEADERS})
@@ -173,10 +169,6 @@ endif ()
if ( NOT ONLY_VNC_BUILD AND ONLY_SPICE_BUILD )
list(APPEND SOURCES_FOR_VIEWER ${QSPICE_SOURCES})
endif ()
-if ( NOT ONLY_SPICE_BUILD AND NOT ONLY_VNC_BUILD )
- list(APPEND SOURCES_FOR_VIEWER
- ${QSPICE_SOURCES} ${QVNC_SOURCES})
-endif ()
if ( ONLY_SPICE_BUILD AND ONLY_VNC_BUILD )
list(APPEND SOURCES_FOR_VIEWER
${QSPICE_SOURCES} ${QVNC_SOURCES})
@@ -582,10 +574,6 @@ endif ()
if ( NOT ONLY_VNC_BUILD AND ONLY_SPICE_BUILD )
list(APPEND HEADERS src/vm_viewer/spice/spice_viewer.h)
endif ()
-if ( NOT ONLY_SPICE_BUILD AND NOT ONLY_VNC_BUILD )
- list(APPEND HEADERS src/vm_viewer/spice/spice_viewer.h
- src/vm_viewer/vnc/vnc_viewer.h)
-endif ()
if ( ONLY_SPICE_BUILD AND ONLY_VNC_BUILD )
list(APPEND HEADERS src/vm_viewer/spice/spice_viewer.h
src/vm_viewer/vnc/vnc_viewer.h)
@@ -988,10 +976,6 @@ endif ()
if ( NOT ONLY_VNC_BUILD AND ONLY_SPICE_BUILD )
list(APPEND SOURCES src/vm_viewer/spice/spice_viewer.cpp)
endif ()
-if ( NOT ONLY_SPICE_BUILD AND NOT ONLY_VNC_BUILD )
- list(APPEND SOURCES src/vm_viewer/spice/spice_viewer.cpp
- src/vm_viewer/vnc/vnc_viewer.cpp)
-endif ()
if ( ONLY_SPICE_BUILD AND ONLY_VNC_BUILD )
list(APPEND SOURCES src/vm_viewer/spice/spice_viewer.cpp
src/vm_viewer/vnc/vnc_viewer.cpp)
@@ -1041,10 +1025,6 @@ endif ()
if ( NOT ONLY_VNC_BUILD AND ONLY_SPICE_BUILD )
list(APPEND VIEWER_HEADERS src/vm_viewer/spice/spice_viewer_only.h)
endif ()
-if ( NOT ONLY_SPICE_BUILD AND NOT ONLY_VNC_BUILD )
- list(APPEND VIEWER_HEADERS src/vm_viewer/spice/spice_viewer_only.h
- src/vm_viewer/vnc/vnc_viewer_only.h)
-endif ()
if ( ONLY_SPICE_BUILD AND ONLY_VNC_BUILD )
list(APPEND VIEWER_HEADERS src/vm_viewer/spice/spice_viewer_only.h
src/vm_viewer/vnc/vnc_viewer_only.h)
@@ -1063,10 +1043,6 @@ endif ()
if ( NOT ONLY_VNC_BUILD AND ONLY_SPICE_BUILD )
list(APPEND VIEWER_SOURCES src/vm_viewer/spice/spice_viewer_only.cpp)
endif ()
-if ( NOT ONLY_SPICE_BUILD AND NOT ONLY_VNC_BUILD )
- list(APPEND VIEWER_SOURCES src/vm_viewer/spice/spice_viewer_only.cpp
- src/vm_viewer/vnc/vnc_viewer_only.cpp)
-endif ()
if ( ONLY_SPICE_BUILD AND ONLY_VNC_BUILD )
list(APPEND VIEWER_SOURCES src/vm_viewer/spice/spice_viewer_only.cpp
src/vm_viewer/vnc/vnc_viewer_only.cpp)
@@ -1122,11 +1098,6 @@ if ( NOT ONLY_VNC_BUILD AND ONLY_SPICE_BUILD )
find_package(Spice1 REQUIRED)
find_package(SpiceClientGLib2 REQUIRED)
endif ()
-if ( NOT ONLY_SPICE_BUILD AND NOT ONLY_VNC_BUILD )
- find_package(Spice1 REQUIRED)
- find_package(SpiceClientGLib2 REQUIRED)
- find_package(LibVNCServer REQUIRED)
-endif ()
if ( ONLY_SPICE_BUILD AND ONLY_VNC_BUILD )
find_package(Spice1 REQUIRED)
find_package(SpiceClientGLib2 REQUIRED)
from qt-virt-manager.
with the patch posted avobe fail in link
[ 99%] Linking CXX executable qt5-virt-manager
CMakeFiles/qt5-virt-manager.dir/src/mainwindow.cpp.o: En la función `MainWindow::invokeVMDisplay(TASK*)':
mainwindow.cpp:(.text+0x8b63): referencia a `VNC_Viewer::VNC_Viewer(QWidget*, _virConnect**, QString, QString, QString)' sin definir
mainwindow.cpp:(.text+0x8f59): referencia a `Spice_Viewer::Spice_Viewer(QWidget*, _virConnect**, QString, QString, QString)' sin definir
collect2: error: ld devolvió el estado de salida 1
make[2]: *** [CMakeFiles/qt5-virt-manager.dir/build.make:21426: qt5-virt-manager] Error 1
make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/qt5-virt-manager.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
from qt-virt-manager.
i want build without vnc and spice
For what?.. Then build of qt-remote-viewer have not a sence...
from qt-virt-manager.
in my case, yep. only want for local without lan managemnent support (ony for VGA passthrought)
from qt-virt-manager.
try new changes...
from qt-virt-manager.
EDIT:
fail build
[ 35%] Building CXX object CMakeFiles/qt5-virt-manager.dir/src/dock_head_widgets/dock_widget.cpp.o
In file included from /tmp/makepkg/qt-virt-manager-git/src/qt-virt-manager/src/vm_viewer/qterminal/termwidgetholder.h:5:0,
from /tmp/makepkg/qt-virt-manager-git/src/qt-virt-manager/src/vm_viewer/qterminal/term_mainwindow.h:7,
from /tmp/makepkg/qt-virt-manager-git/src/qt-virt-manager/src/vm_viewer/lxc/lxc_viewer.h:5,
from /tmp/makepkg/qt-virt-manager-git/src/qt-virt-manager/src/mainwindow.h:22,
from /tmp/makepkg/qt-virt-manager-git/src/qt-virt-manager/src/main.cpp:1:
/tmp/makepkg/qt-virt-manager-git/src/qt-virt-manager/src/vm_viewer/qterminal/termwidget.h:4:10: error fatal: qtermwidget.h: No existe el fichero o el directorio
#include <qtermwidget.h>
^~~~~~~~~~~~~~~
compilación terminada.
make[2]: *** [CMakeFiles/qt5-virt-manager.dir/build.make:2265: CMakeFiles/qt5-virt-manager.dir/src/main.cpp.o] Error 1
make[2]: *** Se espera a que terminen otras tareas....
In file included from /tmp/makepkg/qt-virt-manager-git/src/qt-virt-manager/src/vm_viewer/qterminal/termwidgetholder.h:5:0,
from /tmp/makepkg/qt-virt-manager-git/src/qt-virt-manager/src/vm_viewer/qterminal/term_mainwindow.h:7,
from /tmp/makepkg/qt-virt-manager-git/src/qt-virt-manager/src/vm_viewer/lxc/lxc_viewer.h:5,
from /tmp/makepkg/qt-virt-manager-git/src/qt-virt-manager/src/mainwindow.h:22,
from /tmp/makepkg/qt-virt-manager-git/src/qt-virt-manager/src/mainwindow.cpp:1:
/tmp/makepkg/qt-virt-manager-git/src/qt-virt-manager/src/vm_viewer/qterminal/termwidget.h:4:10: error fatal: qtermwidget.h: No existe el fichero o el directorio
#include <qtermwidget.h>
^~~~~~~~~~~~~~~
compilación terminada.
make[2]: *** [CMakeFiles/qt5-virt-manager.dir/build.make:2289: CMakeFiles/qt5-virt-manager.dir/src/mainwindow.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/qt5-virt-manager.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
but qtermwidget (qt5) is installed
┌─┤[$]|[sl1pkn07]|[sL1pKn07]|[~]|
└───╼ locate qtermwidget.h
/usr/include/qtermwidget5/qtermwidget.h
┌─┤[$]|[sl1pkn07]|[sL1pKn07]|[~]|
└───╼ yaourt -Qo /usr/include/qtermwidget5/qtermwidget.h
/usr/include/qtermwidget5/qtermwidget.h está contenido en qtermwidget 0.8.0-1
from qt-virt-manager.
yaourt -Qo /usr/include/qtermwidget5/qtermwidget.h
/usr/include/qtermwidget5/qtermwidget.h está contenido en qtermwidget 0.8.0-1
usually it contains in devel package, as qtermwidget-devel in Fedora.
from qt-virt-manager.
Arch include the headers in the main package.
from qt-virt-manager.
new changes... db21c93e44331fc267e00eb1664bc5fd941b2a32
from qt-virt-manager.
DONE!
tnx bro!
from qt-virt-manager.
:)
from qt-virt-manager.
Related Issues (20)
- VM viewer toolbar changes window size when attached to window HOT 2
- Improve support for keyboards, especially for keypad/numlock and different layouts like with umlauts HOT 2
- Can't build HOT 18
- [information] spice-gtk HOT 2
- Qt-Virt-Viewer shows only a transparent background (Wayland)
- падает сборка HOT 3
- Cannot build (ubuntu 18.04) HOT 2
- Howto do vbox:// access to a remote system.
- Random crashers in Fedora HOT 3
- Qt 5.13 (as in Fedora 31) HOT 1
- Extra dependencies to run HOT 5
- Can't build - DotCursorState has not been declared HOT 4
- . HOT 1
- Missing any build instructions
- Qt6 ready
- /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/type_traits: error: template with C linkage HOT 3
- No VMs in the Domain list HOT 2
- homebrew HOT 1
- krdc/remoteview.h neither found nor available HOT 2
- Consider merging the project to KDE KRDC HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qt-virt-manager.