pierrebai / QWidgetListWidget

Example of a Qt list widget containing complex sub-widgets.
MIT License
22 stars 6 forks source link

Example Application on Mac (Catalina) #2

Open m-bob opened 3 years ago

m-bob commented 3 years ago

No issue, just a comment.

A few deletions allow the Example Application to build on the Mac.

First, comment out or remove the text in ExampleApplication.c that reference HINSTANCE and hwinmain. Then remove or comment out the lines

add_custom_command(TARGET ExampleApp POST_BUILD COMMAND "${Qt5_DIR}/../../../bin/windeployqt.exe" --no-webkit2 --no-angle --no-system-d3d-compiler --no-opengl-sw "$" )

in CMakeLists.txt in the ExampleApp directory. That's it.

The

mkdir build cd build cmake .. make

procedure then works fine.

Thanks so much for this example!

I do most of my Qt development/experimentation/playing using PyQt, so I'll probably look at trying to make a Python wrapper or re-implementation of you code.

pierrebai commented 3 years ago

Noted, thank you! I will see if I can integrate the changes.