Skip to content

Commit 722abba

Browse files
committed
cosmetic changes to remove mentions of QT4
1 parent 8918438 commit 722abba

File tree

57 files changed

+74
-98
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+74
-98
lines changed

AABB_tree/demo/AABB_tree/AABB_demo.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ int main(int argc, char **argv)
4040
app.setApplicationName("AABB tree demo");
4141
app.setAttribute(Qt::AA_UseDesktopOpenGL);
4242

43-
// Import resources from libCGALQt (Qt4 or Qt5).
44-
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
45-
CGAL_QT_INIT_RESOURCES;//New for Qt5 version !
43+
// Import resources from libCGALQt (Qt5).
44+
CGAL_QT_INIT_RESOURCES;
4645

4746
MainWindow mainWindow;
4847
mainWindow.show();

Alpha_shapes_2/demo/Alpha_shapes_2/qt3/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ include( ${CGAL_USE_FILE} )
99

1010
find_package(Qt3-patched)
1111
# FindQt3-patched.cmake is FindQt3.cmake patched by CGAL developers, so
12-
# that it can be used together with FindQt4: all its variables are prefixed
12+
# that it can be used together with Qt5: all its variables are prefixed
1313
# by "QT3_" instead of "QT_".
1414

1515
if ( CGAL_FOUND AND QT3_FOUND AND CGAL_Qt3_FOUND)

Alpha_shapes_3/demo/Alpha_shapes_3/Alpha_shape_3.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ int main(int argc, char** argv)
1515
application.setApplicationName("Alpha Shape Reconstruction");
1616
application.setAttribute(Qt::AA_UseDesktopOpenGL);
1717

18-
// Import resources from libCGALQt (Qt4 or Qt5).
18+
// Import resources from libCGALQt (Qt5).
1919
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
2020

21-
CGAL_QT_INIT_RESOURCES; //New for Qt5 version !
21+
CGAL_QT_INIT_RESOURCES;
2222
Q_INIT_RESOURCE(Alpha_shape_3);
2323

2424
MainWindow mw;

Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ if ( CGAL_FOUND AND CGAL_Qt5_FOUND AND Qt5_FOUND AND OPENGL_FOUND AND QGLVIEWER_
3434
# qrc files (resources files, that contain icons, at least)
3535
qt5_add_resources ( RESOURCE_FILES ./Alpha_shape_3.qrc )
3636

37-
#qt4_automoc( MainWindow.cpp Viewer.cpp)
38-
3937
add_executable ( Alpha_shape_3 Alpha_shape_3.cpp MainWindow.cpp Viewer.cpp ${uis} ${RESOURCE_FILES} )
4038
qt5_use_modules(Alpha_shape_3 Xml Script OpenGL Svg)
4139
add_to_cached_list( CGAL_EXECUTABLE_TARGETS Alpha_shape_3 )

Apollonius_graph_2/demo/Apollonius_graph_2/Qt3/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ include( ${CGAL_USE_FILE} )
99

1010
find_package(Qt3-patched)
1111
# FindQt3-patched.cmake is FindQt3.cmake patched by CGAL developers, so
12-
# that it can be used together with FindQt4: all its variables are prefixed
12+
# that it can be used together with Qt5: all its variables are prefixed
1313
# by "QT3_" instead of "QT_".
1414

1515
if ( CGAL_FOUND AND QT3_FOUND AND CGAL_Qt3_FOUND )

Arrangement_on_surface_2/demo/Arrangement_on_surface_2/old_demo/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ include( ${CGAL_USE_FILE} )
1313

1414
find_package(Qt3-patched)
1515
# FindQt3-patched.cmake is FindQt3.cmake patched by CGAL developers, so
16-
# that it can be used together with FindQt4: all its variables are prefixed
16+
# that it can be used together with Qt5: all its variables are prefixed
1717
# by "QT3_" instead of "QT_".
1818

1919
if ( CGAL_FOUND AND CGAL_Qt3_FOUND AND QT3_FOUND )

Boolean_set_operations_2/demo/Boolean_set_operations_2/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include( ${CGAL_USE_FILE} )
1212

1313
find_package(Qt3-patched)
1414
# FindQt3-patched.cmake is FindQt3.cmake patched by CGAL developers, so
15-
# that it can be used together with FindQt4: all its variables are prefixed
15+
# that it can be used together with Qt5: all its variables are prefixed
1616
# by "QT3_" instead of "QT_".
1717

1818
if ( CGAL_FOUND AND CGAL_Qt3_FOUND AND QT3_FOUND )

Boolean_set_operations_2/demo/Boolean_set_operations_2_GraphicsView/boolean_operations_2.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1635,10 +1635,7 @@ int main(int argc, char **argv)
16351635
app.setOrganizationName("GeometryFactory");
16361636
app.setApplicationName("Boolean_operations_2 demo");
16371637

1638-
// Import resources from libCGALQt4.
1639-
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
1640-
1641-
//New for Qt5 version !
1638+
// Import resources from libCGALQt5.
16421639
CGAL_QT_INIT_RESOURCES;
16431640

16441641
MainWindow mainWindow;

Bounding_volumes/demo/Min_circle_2/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include( ${CGAL_USE_FILE} )
1212

1313
find_package(Qt3-patched)
1414
# FindQt3-patched.cmake is FindQt3.cmake patched by CGAL developers, so
15-
# that it can be used together with FindQt4: all its variables are prefixed
15+
# that it can be used together with Qt5: all its variables are prefixed
1616
# by "QT3_" instead of "QT_".
1717

1818
if ( CGAL_FOUND AND CGAL_Qt3_FOUND AND QT3_FOUND )

Bounding_volumes/demo/Min_ellipse_2/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include( ${CGAL_USE_FILE} )
1212

1313
find_package(Qt3-patched)
1414
# FindQt3-patched.cmake is FindQt3.cmake patched by CGAL developers, so
15-
# that it can be used together with FindQt4: all its variables are prefixed
15+
# that it can be used together with Qt5: all its variables are prefixed
1616
# by "QT3_" instead of "QT_".
1717

1818
if ( CGAL_FOUND AND CGAL_Qt3_FOUND AND QT3_FOUND )

0 commit comments

Comments
 (0)