revert QGLVIEW flag
This commit is contained in:
@@ -1628,8 +1628,9 @@ void Graphic::on_graphic_buttonConfigure_clicked() {
|
||||
conf->ui->colorGrid->setColor(grid_pen.color());
|
||||
conf->ui->comboStyleGrid->setCurrentIndex((int)grid_pen.style());
|
||||
conf->ui->spinWidthGrid->setValue(grid_pen.widthF());
|
||||
#ifdef HAS_GL
|
||||
conf->ui->checkOGL->setChecked(isOGL);
|
||||
#ifndef HAS_GL
|
||||
#else
|
||||
conf->ui->checkOGL->setEnabled(false);
|
||||
conf->ui->checkOGL->setChecked(false);
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if (((DEFINED QGLVIEW) AND QGLVIEW AND HAS_GL) OR (NOT DEFINED QGLVIEW))
|
||||
if (((DEFINED QGLVIEW) AND QGLVIEW) OR (NOT DEFINED QGLVIEW))
|
||||
find_package(OpenGL REQUIRED)
|
||||
shstk_qad_project(qglview FALSE "qad" "Gui;OpenGL;Xml" "qad_widgets;qad_utils;${OPENGL_LIBRARIES}")
|
||||
shstk_qad_install("qad" FALSE qglview "${out_HDR}" "${out_QM}")
|
||||
|
||||
Reference in New Issue
Block a user