Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QOpenGLFunctions_1_0 in Xcode & iOS
Qt 6.11 is out! See what's new in the release blog

QOpenGLFunctions_1_0 in Xcode & iOS

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 853 Views 1 Watching
  • 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.
  • K Offline
    K Offline
    kschins
    wrote on last edited by
    #1

    I am trying to port an old Qt project (4.5.1) to Qt 5.1 since it supports some features for iOS. The application currently runs via Qt Creator and works. I then built the application to run on the iPhone Simulator, an xcodeproj file was created as expected. I launch the xocdeproj file, build and run, and am greeted with all sorts of errors - use of undeclared identifier glBegin(), glClear(), etc. All of these methods are in "#include <QOpenGLFunctions_1_0>". This statement is not present in Qt Creator nor in Xcode. If I add it to Xcode, it doesn't do anything. I then found out that these methods are all in Cocoa's framework, GLKit. This has its own problems since it's written in Objective-C and the compiler doesn't recognize many of the directives, properties, etc.

    I've read some information about these methods being part of OpenGL ES but not the newer Open GL ES 2. I'm not sure if this is the problem or not.

    If anyone has any insight, please share. This probably isn't enough information so let me know what else is needed as well.

    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