RudjiGames / MTuner

MTuner is a C/C++ memory profiler and memory leak finder for Windows, PlayStation 4 and 3, Android and other platforms
BSD 2-Clause "Simplified" License
2.63k stars 145 forks source link

I couldn't find qtpresets5.lua everywhere. #72

Closed pengguanjun closed 3 years ago

pengguanjun commented 3 years ago

I try to build MTuner, but I failed.

My effort is following as:

cd MTuner/genie
./genie.exe --gcc=mingw-gcc gmake
cd ../../.build/windows/mingw-gcc/MTuner/projects/
D:/installPath/QT5.12.8/Tools/mingw730_32/bin/mingw32-make.exe

image

Error!

$ ./run.sh Set MINGW environment variable. ERROR: The QTDIR_GMAKE_x86 environment variable must be set to the Qt root directory to use qtpresets5.lua mingw32-make: *** No targets specified and no makefile found. Stop.

I try some path configuration to QTDIR_GMAKE_x86, such as: image But,those all don't work.

And I couldn't find qtpresets5.lua everywhere in local env and in the Internet.

Could you help me?

milostosic commented 3 years ago

Qt version support has been moved to 6 and above. You'll find qtpresets6.lua file now.

milostosic commented 2 years ago

Qt 6 should be used, you can find qtpresets6.lua here: https://github.com/milostosic/build/blob/master/qtpresets6.lua You could back port it to Qt 5 with a minor edit.

I won't have access to a real dev computer for a few more weeks so can't check in detail now what's going on.