mirror of https://github.com/CGAL/cgal
cosmetic changes
This commit is contained in:
parent
03e89cc97b
commit
09a4ac1ad7
|
|
@ -61,7 +61,7 @@ else()
|
|||
endif()
|
||||
|
||||
if(NOT Qt6_FOUND)
|
||||
set(OTR2_MISSING_DEPS "Qt6.4, ${OTR2_MISSING_DEPS}")
|
||||
set(OTR2_MISSING_DEPS "Qt6, ${OTR2_MISSING_DEPS}")
|
||||
endif()
|
||||
|
||||
message("NOTICE: This demo requires ${OTR2_MISSING_DEPS} and will not be compiled.")
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ project(Periodic_Lloyd_3_Demo)
|
|||
# Find includes in corresponding build directories
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
# Instruct CMake to run moc automatically when needed.
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
find_package(CGAL REQUIRED OPTIONAL_COMPONENTS Qt6)
|
||||
|
||||
|
|
@ -21,8 +20,9 @@ if(CGAL_Qt6_FOUND
|
|||
|
||||
include_directories(BEFORE ./)
|
||||
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
if(DEFINED QT_QCOLLECTIONGENERATOR_EXECUTABLE)
|
||||
|
||||
|
|
|
|||
|
|
@ -19,9 +19,6 @@
|
|||
#include <exception>
|
||||
#include <QString>
|
||||
#include <QApplication>
|
||||
//#include <QScriptable>
|
||||
//#include <QScriptContext>
|
||||
//#include <QScriptEngine>
|
||||
#include <optional>
|
||||
#include <QStringList>
|
||||
|
||||
|
|
|
|||
|
|
@ -7,9 +7,6 @@ project(Triangulation_3_Demo)
|
|||
# Find includes in corresponding build directories
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
# Instruct CMake to run moc automatically when needed.
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
find_package(CGAL REQUIRED OPTIONAL_COMPONENTS Qt6)
|
||||
|
||||
find_package(Qt6 QUIET COMPONENTS Widgets OpenGL)
|
||||
|
|
@ -40,6 +37,7 @@ endif()
|
|||
if(CGAL_Qt6_FOUND AND Qt6_FOUND)
|
||||
|
||||
include_directories(BEFORE ./)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
|
|
|
|||
|
|
@ -72,8 +72,6 @@ void MainWindow::connectActions()
|
|||
// Help menu actions
|
||||
QObject::connect(this->actionDemo_Help, SIGNAL(triggered()),
|
||||
this->viewer, SLOT(help()));
|
||||
QObject::connect(this->actionAbout_T3_demo, SIGNAL(triggered()),
|
||||
this, SLOT(popupAboutDemo()));
|
||||
|
||||
// Quit
|
||||
QObject::connect(this->actionQuit, SIGNAL(triggered()),
|
||||
|
|
@ -214,7 +212,7 @@ void MainWindow::on_actionClear_Scene_triggered()
|
|||
void MainWindow::popupAboutCGAL()
|
||||
{
|
||||
// read contents from .html file
|
||||
QFile about_CGAL(":/documentation/documentation/about.html");
|
||||
QFile about_CGAL(":/documentation/documentation/about_CGAL.html");
|
||||
about_CGAL.open(QIODevice::ReadOnly|QIODevice::Text);
|
||||
QString about_CGAL_txt = QTextStream(&about_CGAL).readAll();
|
||||
|
||||
|
|
|
|||
|
|
@ -112,7 +112,6 @@
|
|||
<string>Help</string>
|
||||
</property>
|
||||
<addaction name="actionDemo_Help"/>
|
||||
<addaction name="actionAbout_T3_demo"/>
|
||||
</widget>
|
||||
<addaction name="menuFile"/>
|
||||
<addaction name="menuEdit"/>
|
||||
|
|
@ -555,11 +554,6 @@
|
|||
<string>Stop Animation</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAbout_T3_demo">
|
||||
<property name="text">
|
||||
<string>About T3_demo</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<layoutdefault spacing="3" margin="1"/>
|
||||
<customwidgets>
|
||||
|
|
|
|||
Loading…
Reference in New Issue