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. [Solved] Cannot compile application for iOS simulator on OS X Yosemite
Forum Updated to NodeBB v4.3 + New Features

[Solved] Cannot compile application for iOS simulator on OS X Yosemite

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 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.
  • C Offline
    C Offline
    cristeab
    wrote on last edited by
    #1

    Hi

    I am using Qt5.3 for compiling a Qt/QML application for iOS simulator. At link I get many errors of the type:

    @54 duplicate symbols for architecture i386@

    For example
    @duplicate symbol __ZTS11ModelObject in:
    /Users/n/Qt/5.3/ios/lib/libQt5Declarative_iphonesimulator_debug.a(moc_qdeclarativelistmodel_p_p.o)
    /Users/n/Qt/5.3/ios/lib/libQt5Qml_iphonesimulator_debug.a(moc_qqmllistmodel_p_p.o)@

    I have seen that there are similar error reports on Qt bug tracker, but developers said that the bug cannot be reproduced. I have tried with Qt5.4 RC, but I get the same error.

    Could someone help solving this issue ?

    thanks
    Bogdan

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      Could you post a small project (.pro and source files) that reproduce an error.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cristeab
        wrote on last edited by
        #3

        Hi

        Just removing declarative library from the list of dependences solved my problem:

        -QT += gui declarative qml quick sensors positioning network svg
        +QT += gui qml quick sensors positioning network svg

        thanks
        Bogdan

        1 Reply Last reply
        0
        • N Offline
          N Offline
          nils_heidorn
          wrote on last edited by
          #4

          Hi !
          I got the same problem but i need declarative, if i simply remove it i have (of course) a lot of undefined symbols.
          Any Solution for that case ?

          Greetings,

          Nils

          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