Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. OpenGL on MAC compile - 6.2.8
Forum Updated to NodeBB v4.3 + New Features

OpenGL on MAC compile - 6.2.8

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 241 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Student_T101
    wrote on last edited by
    #1

    Hi -

    I am building Qt 6.2.8 on MAC M3 using the below cmake to configure:

    cmake -DCMAKE_BUILD_TYPE=Debug -DQT_NO_OPENGL=ON —G Ninja -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 -DCMAKE_PREFIX_PATH=“/Users/user1/Documents/my_qt_install:/Users/user1/Document/my_llvm” .

    This gave me the below error. I believe this is because the source is using OpenGL. Can you please guide as how I can configure it without using OpenGL?

    QOpenGL2PaintEngineEx::beginNativePainting() in qopenglpaintengine.cpp.o ld: symbol(s) not found for architecture arm64

    Sincerely,
    Student_T101

    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      When you build Qt you usually don't call CMake directly. Instead you call:

      configure
      make
      make install
      

      configure has many parameters, probably also something to disable OpenGL, check that.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved