Open onuralparslan opened 4 years ago
Sorry for the late reply.
qmake offers us an indirect build method for developers. qmake does not provide a direct way to build a project. Instead, create a Makefile for nmake.exe that comes with MSVC.
In QuickViewer's qmake, qmake is written so that both GNU make and nmake.exe work properly, but in some cases it does not work. If you find a way to improve, please report to us.
I tried to compile quickviewer by Qt Creator in Windows 10 and I got a problem. I am not much experienced in Qt Creator, so it may not be a real problem, but I wanted to report it to fixed in case it is due to a bug.
As written in "How to build" documentation, I added "jom install" as a build step after "jom". The first jom completed without giving errors. However, "jom install" gave the error:
"....\QuickViewer-portable-1.1.7-x64\QuickViewer.exe" does not exist.
I saw that QuickViewer.exe was created under the folder "build-QVproject-Desktop_Qt_5_15_0_MSVC2015_64bit-Release\bin", but it was not created under "....\QuickViewer-portable-1.1.7-x64", so windeployqt could not find the QuickViewer.exe file and gave that error.
I copied the QuickViewer.exe file from "build-QVproject-Desktop_Qt_5_15_0_MSVC2015_64bit-Release\bin" folder to "....\QuickViewer-portable-1.1.7-x64" folder manually. The I rerun the Qt Creator builder. This solved the problem and Qt Creator created the working application without any errors.
Shouldn't the QuickViewer.exe file be created automatically under "....\QuickViewer-portable-1.1.7-x64" folder? Should we manually copy it from "build-QVproject-Desktop_Qt_5_15_0_MSVC2015_64bit-Release\bin" folder to "....\QuickViewer-portable-1.1.7-x64" and rerun the compiler?
I attached the compilation logs of Qt Creator. The "initial.txt" shows the compilation log of the first trial, which failed with "QuickViewer.exe does not exist." error. The "second.txt" file shows the compilation log after I copied the file to "....\QuickViewer-portable-1.1.7-x64" folder and rerun the builder. It finished without any problems.
initial.txt second.txt