I downloaded wxMSW-3.2.2.1-Setup.exe. How can I use it to install wxWidgets? Does it need any manual configuration or does the installer do all the work for me? After it’s installed, how do I use wxWidgets in Code::Blocks and Visual Studio Community 2019?
I’m using Windows 10. I’ve used Qt for some time, but now I’d like to learn wxWidgets because I found out about the price of the commercial license for Qt. When I used Qt, I just installed Qt Creator using the installer and used it without any manual configuration. I’d like to know if I can download wxWidgets with the same ease.
I want to download wxWidgets from the installer because I don’t want to risk the integrity of my computer by failing to configure it and to save time.
2
Answers
As mentioned in the release notes:
So if you really want to avoid building wxWidgets yourself, you need to download binaries and not sources. And then see the instructions for using them, notably verify that you’re using a compatible compiler.
@JMBCODE,
You already downloaded and run the Setup binary.
What you need to do now is the following:
1.Open MSVC
2.Go to "File->Open Solution"
3.Navigate to wxWidgets_base_dirbuildmsw
4.Open wx_vc15.sln
5.Go to Build->Batch Build
6.Select everything pertaining to Debug configuration and click Build
After some time the build completes
7.Go to File->Open solution
8.Navigate to wxWidgets_base_dirsamplesminimal
9.Open minimal_vcN.sln. Let it convert to the version of the MSVC you have.
10.Build the solution.
11.Run the solution
I don’t know why you have 2 IDE installed. You can use either one of those. Granted MSVC doesn’t have any RAD tool for wxWidgets development, but you can install 3rd party software like wxGlade (you will need Python and wxPython for it) or any other ones and then program with MSVC.
You should also take a look at different samples in the samples directory. Build them, run them see what wxWidgets can do for you. Then look at the code of the samples. Check how controls are created and what is required in order to make your program work.
Do you plan to port your existing software from Qt?
Thank you.
BTW, in order to start your own development wxWidgets provides the
props
file for MSVC.Create an empty project, copy the file over to that directory and then re-load the project. Everything will be pre-setup for you.