sohsatoh / huestacean

Philips Hue control app for desktop with screen syncing. C++ with Qt Quick GUI.
http://huestacean.com
Apache License 2.0
2 stars 1 forks source link

Update README.md #2

Open reefland opened 3 years ago

reefland commented 3 years ago

Can you please update the README.md and remove the parts from the original fork not relevant? It's a bit confusing as even your build instructions do not reference your own repo.

reefland commented 3 years ago

To help others a bit... the following is as far as I could get.

cd ~/git
git clone --recursive git://github.com/sohsatoh/huestacean.git
cd huestacean
mkdir build
cd build
cmake ..

That get you to the required qthttpserver missing (which ubuntu does not provide a package for, so you have to build it.). The README.md has a link to the 5.15 branch being required. When I try to build that... this is as far as I can get:

cd ~/git
git clone -b 5.15 https://github.com/qt-labs/qthttpserver
cd qthttpserver
mkdir build
qmake ..
make

Which ends with:

QtSslServer: created fwd-include header(s) for <srcbase>/src/sslserver/ { qsslserver.h (2), qsslserver_p.h (1), qtsslserverglobal.h (1) }
QtSslServer: created version header
QtSslServer: created master header
QtSslServer: created headers.pri file
make[2]: Entering directory '/home/acepc/git/qthttpserver/build/src/sslserver'
perl /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/unix/findclasslist.pl < QtSslServer.version.in > QtSslServer.version
g++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-deprecated-copy -Wno-redundant-move -Wno-format-overflow -Wno-init-list-lifetime -D_REENTRANT -fPIC -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_SSLSERVER_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/acepc/git/qthttpserver/src/sslserver -I. -I/home/acepc/git/qthttpserver/src/sslserver -I../../include -I../../include/QtSslServer -I../../include/QtSslServer/5.12.0 -I../../include/QtSslServer/5.12.0/QtSslServer -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork/5.12.8 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork/5.12.8/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore/5.12.8 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore/5.12.8/QtCore -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .obj/qsslserver.o /home/acepc/git/qthttpserver/src/sslserver/qsslserver.cpp
In file included from ../../include/QtSslServer/5.12.0/QtSslServer/private/qsslserver_p.h:1,
                 from /home/acepc/git/qthttpserver/src/sslserver/qsslserver.cpp:30:
../../include/QtSslServer/5.12.0/QtSslServer/private/../../../../../../src/sslserver/qsslserver_p.h:35:10: fatal error: private/qtcpserver_p.h: No such file or directory
   35 | #include <private/qtcpserver_p.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:436: .obj/qsslserver.o] Error 1
make[2]: Leaving directory '/home/acepc/git/qthttpserver/build/src/sslserver'
make[1]: *** [Makefile:73: sub-sslserver-make_first] Error 2
make[1]: Leaving directory '/home/acepc/git/qthttpserver/build/src'
make: *** [Makefile:49: sub-src-make_first] Error 2

At this point I'm in over my head.... I do not see a qtcpserver_p.h file:

find . -name qsslserver_p.h

ls -l ./qthttpserver/build/include/QtSslServer/5.12.0/QtSslServer/private

-rw-rw-r-- 1 acepc acepc 58 Dec 31 15:38 qsslserver_p.h