[us-commits] [ehb54/ultrascan3] be440f: Update CMake to support optional Qt6 usage and mod...

Lukas Dobler noreply at github.com
Sun Oct 26 07:36:18 MDT 2025


  Branch: refs/heads/lukas/qt6-compile
  Home:   https://github.com/ehb54/ultrascan3
  Commit: be440f7beb44ba005109efbf314633c079010602
      https://github.com/ehb54/ultrascan3/commit/be440f7beb44ba005109efbf314633c079010602
  Author: doluk <69309597+doluk at users.noreply.github.com>
  Date:   2025-10-26 (Sun, 26 Oct 2025)

  Changed paths:
    M CMakeLists.txt
    M gui/CMakeLists.txt
    M qwtplot3d/CMakeLists.txt
    M test/utils/CMakeLists.txt
    M utils/CMakeLists.txt

  Log Message:
  -----------
  Update CMake to support optional Qt6 usage and modernize Qt library linking

Introduced a `USE_QT6` build option for switching between Qt5 and Qt6. Modernized Qt library linking by standardizing to `Qt::` aliases. Updated all related targets and dependencies for improved flexibility and maintainability.


  Commit: 4c7b899cc2a8e239f5e6e6e210f3f0b28c1d7165
      https://github.com/ehb54/ultrascan3/commit/4c7b899cc2a8e239f5e6e6e210f3f0b28c1d7165
  Author: doluk <69309597+doluk at users.noreply.github.com>
  Date:   2025-10-26 (Sun, 26 Oct 2025)

  Changed paths:
    M utils/us_crypto.cpp
    M utils/us_math2.cpp
    M utils/us_math2.h
    M utils/us_project.cpp
    M utils/us_report.cpp
    M utils/us_report.h
    M utils/us_rotor.cpp
    M utils/us_solution.cpp
    M utils/us_solution.h
    M utils/us_util.cpp
    M utils/us_util.h

  Log Message:
  -----------
  Streamline random data initialization and UUID validation

- Removed legacy random generator logic and unnecessary includes in `US_Math2`.
- Unified UUID validation through the addition of `UUID_REGEX` in `US_Util`, eliminating redundant regex definitions.
- Applied `const` correctness and range-based for loops for improved code clarity and maintainability.


  Commit: 401dd595a2ebd258a45c6b6de3a8670368fbff50
      https://github.com/ehb54/ultrascan3/commit/401dd595a2ebd258a45c6b6de3a8670368fbff50
  Author: doluk <69309597+doluk at users.noreply.github.com>
  Date:   2025-10-26 (Sun, 26 Oct 2025)

  Changed paths:
    M qwtplot3d/include/qwt3d_io_gl2ps.h
    M qwtplot3d/include/qwt3d_openglhelper.h
    M qwtplot3d/include/qwt3d_plot.h
    M qwtplot3d/include/qwt3d_surfaceplot.h
    M qwtplot3d/src/qwt3d_io.cpp
    M qwtplot3d/src/qwt3d_io_gl2ps.cpp
    M qwtplot3d/src/qwt3d_label.cpp
    M qwtplot3d/src/qwt3d_lighting.cpp
    M qwtplot3d/src/qwt3d_movements.cpp
    M qwtplot3d/src/qwt3d_plot.cpp
    M qwtplot3d/src/qwt3d_surfaceplot.cpp

  Log Message:
  -----------
  Migrate `QGLWidget` to `QOpenGLWidget` for Qt5/Qt6 compatibility

- Replaced `QGLWidget` instances with `QOpenGLWidget` across all affected files to modernize the codebase and ensure compatibility with Qt5 and Qt6.
- Updated `renderPixmap` and `updateGL()` calls to use `grabFramebuffer()` and `update()` respectively for alignment with `QOpenGLWidget` API.
- Adjusted include directives to utilize `QOpenGLFunctions` and `QOpenGLWidget` as needed.
- Refactored constructors to remove deprecated `QGLWidget` parameters, enhancing clarity and maintainability.


  Commit: cdfc55c93b1bfcf85085c81b1008ec8cc5664db5
      https://github.com/ehb54/ultrascan3/commit/cdfc55c93b1bfcf85085c81b1008ec8cc5664db5
  Author: doluk <69309597+doluk at users.noreply.github.com>
  Date:   2025-10-26 (Sun, 26 Oct 2025)

  Changed paths:
    M programs/CMakeLists.txt

  Log Message:
  -----------
  Modernize Qt library linking and add Qt6 OpenGLWidgets support

- Updated `CMakeLists.txt` to replace `Qt5::` aliases with `Qt::` for library linking.
- Added conditional linking for `Qt::OpenGLWidgets` when `USE_QT6` is enabled.
- Simplified data visualization linking by standardizing to `Qt::DataVisualization`.


Compare: https://github.com/ehb54/ultrascan3/compare/b50cca680591...cdfc55c93b1b

To unsubscribe from these emails, change your notification settings at https://github.com/ehb54/ultrascan3/settings/notifications


More information about the us-commits mailing list