or can some one guide me through set path directly in openframeworks QT plugin , as i set paths multiple times but no success always getting same error
> warning: error : your PATH is incorrect. Please make sure that {MSYS2ROOT}\mingw32\bin;{MSYS2ROOT}\usr\bin is at the beginning of your PATH
warning: Product 'app2' had errors and was disabled.
warning: Error while handling product 'openFrameworks':
warning: Product 'openFrameworks' had errors and was disabled.
Welcome to the forum
There should be some extra logs in the ‘general messages’ panel (or equivalent) that should tell you the PATH QT is using.
I found out that QT may be forcing it’s own value of PATH.
Could you post these ?
am new to openframeworks its my first time not familier with it , can you tell me where to put you code so that i can run it
these gbs files already have code in them
This is normal. The objective of this qbs was to have the PATH printed in the issues.
And from what I can see it is incorrect.
%MSYS2ROOT% should have been replaced by the value defined in the MSYS2ROOT environment variable.
Looking back at the issue in GitHub and the screenshots :
You shoud define MSYS2ROOT not %MSYS2ROOT%
You should not have curly braces {} around %MSYS2ROOT% in your PATH definition. It should be %MSYS2ROOT%\mingw32\bin; instead of {%MSYS2ROOT%}\mingw32\bin
Explanation : in Windows the %VAR% syntax is used to expand the variable to its current value.
If we have something else we may have a conflict (may be with your GnuWin32installation ?)
I’ll try to write a minimal small batch file to start QtCreator with the correct path.
I think Git is useful…
You can try to save the following in a batch file (testQTOF.bat)
setlocal
set MSYS2ROOT=c:\msys64
set PATH=%MSYS2ROOT%\mingw32\bin;%MSYS2ROOT%\usr\bin;c:\windows\system32;c:\windows
set CREATOR=C:\Qt\Tools\QtCreator
%CREATOR%\bin\qtcreator.exe
i have one Question , i have QT widgets application so am wondering can i used openframeworks libs in that widges app or not , i would like to use Serial and Ardunio libs of openframeowrks in it
Cool glad it worked. Adapt the PATH as needed.
Could you change the title of the issue you’ve opened to something like “Qtcreator : msys2root detection failure”
Not sure about this one.
May this this post may help.