Re: Windows build Environment cannot be installed anymore - need a hand
Posted: Wed Apr 12, 2023 8:34 pm
If you want to try something different I've finally gotten around to putting together something that other people can use to work in a MSYS2+Mingw-w64 environment completely - I haven't publicised this outside of the Core Devs but It might be of interest to you. This is a set of three scripts that can be run after a base install of the MSYS2 product from https://www.msys2.org/ - you can read a draft version of the text and get the scripts here.
There is one change currently needed to get the current development code to build - two enums in the ./src/uiawrapper.h file need to be excluded as they are already present in the header files in a MSYS2+Mingw-w64 environment - I need to get it into a PR as soon as possible but you can fix it by inserting this #if defined(INCLUDE_MAIN_BUILD_SYSTEM) and #endif pair into the code: Now done!
The first script (the one that installs the needed ontop of the base packages) has some extra packages that are currently commented out - but which (including the MSYS2+Mingw-w64 builds of Qt Creator - rather than Qt's own ones, so no need to sign-up to Qt and download theirs) you will probably want as well. now available by giving the command line option full to the script instead of base - it now requires one of those two and will stop and say so if that is not the case!
Edit: 2023/04/23 Fixed link to the page in the Wiki to actually work - the scripts there have been updated to work "better" as well today.
Code: Select all
#include <oleacc.h>
#include <uiautomationclient.h>
#include <uiautomationcore.h>
#include <uiautomationcoreapi.h>
+#if defined(INCLUDE_MAIN_BUILD_SYSTEM)
enum NotificationProcessing {
NotificationProcessing_ImportantAll = 0,
NotificationProcessing_ImportantMostRecent = 1,
NotificationProcessing_All = 2,
NotificationProcessing_MostRecent = 3,
NotificationProcessing_CurrentThenMostRecent = 4
};
enum NotificationKind {
NotificationKind_ItemAdded = 0,
NotificationKind_ItemRemoved = 1,
NotificationKind_ActionCompleted = 2,
NotificationKind_ActionAborted = 3,
NotificationKind_Other = 4
};
+#endif // WITH_MAIN_BUILD_SYSTEM
class UiaWrapper {
UiaWrapper();
Edit: 2023/04/23 Fixed link to the page in the Wiki to actually work - the scripts there have been updated to work "better" as well today.