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. [iOS] Q_INIT_RESOURCE gets a undefined reference
Forum Updated to NodeBB v4.3 + New Features

[iOS] Q_INIT_RESOURCE gets a undefined reference

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 1.1k Views 2 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.
  • M Offline
    M Offline
    MaxL
    wrote on 31 Mar 2015, 22:36 last edited by MaxL
    #1

    Hi everyone,

    I am trying to use resources that are in a separate library that I statically link against.

    While on OS X and Android I can retrieves the library resources by using Q_INIT_RESOURCE(qrcfilename), on iOS I get a undefined reference to qInitResoures_qrcfilename.

    I ran 'nm' on my static lib and I do find for both armv7/arm64 the function.

    What am I doing wrong or is there a known bug on that ?

    I tried to find some info around but could not.

    Thanks

    Edit: I am using Qt 5.4.0

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Miller791
      wrote on 12 Sept 2016, 16:15 last edited by
      #2

      I am encountering the exact same problem. Using X Code 7.3.1 with Qt 5.2.1. I am curious if you find a solution.

      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