example requires qt

This commit is contained in:
Guillaume Damiand 2023-12-14 08:32:32 +01:00
parent b7ed4f249e
commit 8710dbe861
1 changed files with 5 additions and 0 deletions

View File

@ -102,6 +102,9 @@ int main(int argc, char* argv[])
CGAL::Graphics_scene buffer;
add_to_graphics_scene(sm, buffer, gsosm);
#ifdef CGAL_USE_BASIC_VIEWER
CGAL::Qt::QApplication_and_basic_viewer app(buffer, "Small faces");
if(app)
{
@ -147,6 +150,8 @@ int main(int argc, char* argv[])
app.run();
}
#endif
sm.remove_property_map(faces_size);
return EXIT_SUCCESS;