Is there any good guide how to deploy/build app from QT or VS?

Is there any good guide how to deploy/build app from QT or VS?
How to install all system requirements?

Im using Visual Studio 16 2019
I have Latest QT 5.14.1 and QT Creator 4.11.0

At the moment if I try to compile or build I get error.

C:\Users\MyPC\Documents\desktop\build>cmake -G "Visual Studio 16 2019" .. -DCMAKE_INSTALL_PREFIX=$USERPROFILE\nextcloud-desktop-client -DCMAKE_BUILD_TYPE=Debug -DNO_SHIBBOLETH=1
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
-- Build of crashreporter disabled.
-- GIT_SHA1 afc6a4116955a910fac95cf76a84344fd1c39167
Compiling without shibboleth
-- Could NOT find INOTIFY (missing: INOTIFY_INCLUDE_DIR INOTIFY_LIBRARY_DIR)
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE)
-- Could NOT find PdfLatex (missing: PDFLATEX_EXECUTABLE)
CMake Error at E:/Program Files/CMAKE/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
  E:/Program Files/CMAKE/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  E:/Program Files/CMAKE/share/cmake-3.16/Modules/FindZLIB.cmake:115 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:188 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/Users/MyPC/Documents/desktop/build/CMakeFiles/CMakeOutput.log".

Same issue if I runned this command:
cmake -G "MinGW Makefiles" ../client

I would also need a guide but for linux.
I always have troubles to build the nextcloud desktop client

laptop:~/code/nextcloud_desktop/client-build$ sudo cmake … -DCMAKE_INSTALL_PREFIX=~/nextcloud-desktop-client -DCMAKE_BUILD_TYPE=Debug -DNO_SHIBBOLETH=1 -DQt5QuickControls2_DIR=/usr/lib/x86_64-linux-gnu/
– Build of crashreporter disabled.
– GIT_SHA1 5a8c2bab89de2f637814acf0a74d95a7121c35a9
Compiling without updater
Compiling without shibboleth
– Could NOT find INOTIFY (missing: INOTIFY_LIBRARY_DIR)
– Could NOT find Sphinx (missing: SPHINX_EXECUTABLE)
– Could NOT find PdfLatex (missing: PDFLATEX_EXECUTABLE)
================> LIBCLOUDPROVIDERS_LIBRARY-NOTFOUND
– Could NOT find LIBCLOUDPROVIDERS (missing: LIBCLOUDPROVIDERS_INCLUDE_DIR LIBCLOUDPROVIDERS_LIBRARY)
– Found SQLite3: /usr/lib/x86_64-linux-gnu/libsqlite3.so (Required is at least version “3.8.0”)
– Found SQLite3: /usr/lib/x86_64-linux-gnu/libsqlite3.so;/usr/lib/x86_64-linux-gnu/libsqlite3.so (Required is at least version “3.8.0”)
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by “Qt5QuickControls2”
with any of the following names:

Qt5QuickControls2Config.cmake
qt5quickcontrols2-config.cmake

Add the installation prefix of “Qt5QuickControls2” to CMAKE_PREFIX_PATH or
set “Qt5QuickControls2_DIR” to a directory containing one of the above
files. If “Qt5QuickControls2” provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
src/gui/CMakeLists.txt:2 (find_package)

– Configuring incomplete, errors occurred!
See also “/home//code/nextcloud_desktop/CMakeFiles/CMakeOutput.log”.