This should close bug 2645.
Some cosmetics here and there.
Tested without tqt3/OpenGL support with the removal of the glu package.
Please give It a test.
This should close bug 2645.
Some cosmetics here and there.
Tested without tqt3/OpenGL support with the removal of the glu package.
Please give It a test.
I have tested your work and it's working fine, with and without glu or TQt build with, or without OpenGL support. 😸
It's wonderful you fixed that longstanding problem. 👍
I have tested your work and it's working fine, with and without glu or TQt build with, or without OpenGL support. :smile_cat:
It's wonderful you fixed that longstanding problem. :+1:
-- Looking for OpenGL/glu.h
CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:80 (message):
Policy CMP0075 is not set: Include file check macros honor
CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
CMAKE_REQUIRED_LIBRARIES is set to:
-L/usr/tqt3/lib;tqt-mt
For compatibility with CMake 3.11 and below this check is ignoring it.
Call Stack (most recent call first):
ConfigureChecks.cmake:176 (check_include_file)
CMakeLists.txt:66 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
With dev-util/cmake-3.17.1.
By chance I noticed some message while testing:
> -- Looking for OpenGL/glu.h
> CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:80 (message):
> Policy CMP0075 is not set: Include file check macros honor
> CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy
> details. Use the cmake_policy command to set the policy and suppress this
> warning.
>
> CMAKE_REQUIRED_LIBRARIES is set to:
>
> -L/usr/tqt3/lib;tqt-mt
>
> For compatibility with CMake 3.11 and below this check is ignoring it.
> Call Stack (most recent call first):
> ConfigureChecks.cmake:176 (check_include_file)
> CMakeLists.txt:66 (include)
> This warning is for project developers. Use -Wno-dev to suppress it.
With `dev-util/cmake-3.17.1`.
I hope Slavek will have some spare time to give It a try soon, expect some changes, as a programmer, he's got higher standards than I.
Reading this PR (again), I'd say that since opengl config variable is now searched into the tqt's pkgconfig file, tde_message_fatal is probably not needed anymore.
Regarding the warning, I don't have an ideas yet. Maybe, I removed something that I shouldn't have...to be continued!
@Chris Thanks for your feedback. :thumbsup:
I hope Slavek will have some spare time to give It a try soon, expect some changes, as a programmer, he's got higher standards than I.
Reading this PR (again), I'd say that since opengl config variable is now searched into the tqt's pkgconfig file, tde_message_fatal is probably not needed anymore.
Regarding the warning, I don't have an ideas yet. Maybe, I removed something that I shouldn't have...to be continued!
Please can anyone verify if ntqgl.h is installed when building TQt3 without OpenGL support? If not, then tqgl.h should not be installed in tqtinterface.
Please can anyone verify if `ntqgl.h` is installed when building TQt3 without OpenGL support? If not, then `tqgl.h` should not be installed in tqtinterface.
This should close bug 2645.
Some cosmetics here and there.
Tested without tqt3/OpenGL support with the removal of the glu package.
Please give It a test.
WIP:Allow tqtinterface to build without OpenGL support.to Allow tqtinterface to build without OpenGL support. 4 years agoAllow tqtinterface to build without OpenGL support.to WIP:Allow tqtinterface to build without OpenGL support. 4 years agoWIP:Allow tqtinterface to build without OpenGL support.to Allow tqtinterface to build without OpenGL support. 4 years agoI have tested your work and it's working fine, with and without glu or TQt build with, or without OpenGL support. 😸
It's wonderful you fixed that longstanding problem. 👍
By chance I noticed some message while testing:
With
dev-util/cmake-3.17.1
.@Chris Thanks for your feedback. 👍
I hope Slavek will have some spare time to give It a try soon, expect some changes, as a programmer, he's got higher standards than I.
Reading this PR (again), I'd say that since opengl config variable is now searched into the tqt's pkgconfig file, tde_message_fatal is probably not needed anymore.
Regarding the warning, I don't have an ideas yet. Maybe, I removed something that I shouldn't have...to be continued!
I made a small update that should resolve the CMP0075 message. You can test it.
execute_process
is used instead of deprecatedexec_program
.Please can anyone verify if
ntqgl.h
is installed when building TQt3 without OpenGL support? If not, thentqgl.h
should not be installed in tqtinterface.Some report: The message is away now. Great, @SlavekB! 👍
About TQt3, I will report later.
Report:
ntqgl.h
is there. 👍Ok, so even
tqgl.h
should always be installed and therefore no further changes are needed and we can proceed to the merge.With some modifications related to r14.0.x branch backported to R14.0.9.
5cdb545740
.