Getting Started on Mac - VirtualPhotonics/MieSimulatorGUI GitHub Wiki
Getting the MieSimulatorGUI App from GitHub:
MacOS App (.app)
- Download the latest "MieSimulatorGUI_vX_XX.app.zip" file.
- Double-click the file to open the application.
- If a warning appears stating the developer can't be verified, go to System Settings > Security & Privacy and click Open Anyway to continue.
MacOS DiskImage (.dmg)
- Download the latest "MieSimulatorGUI_vX_XX.dmg" file.
- Double-click the file to mount the disk image.
- A disk image icon will appear on your desktop. Double-click it to open the folder and click on "MieSimulatorGUI_vX_XX".
- If a warning appears stating the developer can't be verified, go to System Settings > Security & Privacy and click Open Anyway to continue.
Getting the MieSimulatorGUI Source Code from GitHub:
Downloading and Installing Prerequisites
- Download the latest source code by navigating to the GitHub repository and clicking Code > Local > Download ZIP. Extract the files to a directory of your choice.
- Go to the Qt download page and select the Qt 6 macOS or Qt 6 Desktop version and Qt Creator.
- Download and install Qt 6.
Building the Project
- Launch Qt Creator and open the "MieSimulator.pro" file.
- In the next window, select proper project kit and click Configure Project.
- Select Build > Run qmake, and then select Build > Build Project "MieSimulatorGUI" or press Cmd+B.
Running Tests and the Application
- To run tests: Select Tools > Tests > Run All Tests.
- To run the application: Select Build > Run or press Cmd+R.
Note: - If you get any errors, check whether Qt and its debugger is working properly (Generate a sample Qt program and run).