Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Build for iOS fails with duplicate symbols

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8576

    Jonni

    Hi

     

    I installed Felgo 2 from official packages and it seems all the Felgo examples cannot be built for target iPhone simulator out of the box. I get the following error when trying all examples with iOS as target (Squaby is here as an example):

     

     

     

    /Volumes/Silo/VPlay/Examples/Felgo/demos/build-Squaby-iphonesimulator_clang_Qt_5_4_0_for_iOS-Debug/Debug-iphonesimulator/Squaby.app/Squaby

    duplicate symbol __ZN14QQuickKeyEvent18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPv in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    duplicate symbol __ZNK14QQuickKeyEvent10metaObjectEv in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    duplicate symbol __ZN14QQuickKeyEvent16staticMetaObjectE in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    duplicate symbol __ZN14QQuickKeyEvent11qt_metacastEPKc in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    duplicate symbol __ZN14QQuickKeyEvent11qt_metacallEN11QMetaObject4CallEiPPv in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    duplicate symbol __ZTV14QQuickKeyEvent in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    duplicate symbol __ZTI14QQuickKeyEvent in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    duplicate symbol __ZTS14QQuickKeyEvent in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    ld: 8 duplicate symbols for architecture i386

    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    make[1]: *** [iphonesimulator-debug] Error 65

    make: *** [debug-iphonesimulator] Error 2

    17:36:56: The process “/usr/bin/make” exited with code 2.

    Error while building/deploying project Squaby (kit: iphonesimulator-clang Qt 5.4.0 for iOS)

    When executing step “Make”

     

     

     

    I have reinstalled Felgo to a new directory but it still gives the same error. QT 5.4 iOS examples work ok.

     

    Any ideas or is it just me? 🙂

     

    Thanks.

     

    –Jonni

    #8578

    Alex
    Felgo Team

    Hi Jonni,

    there is indeed a problem with iOS Simulator with current Felgo version 2.3.0, it will be fixed with the next update within the next couple of days. In the meantime you can build our demo games for all other supported platforms.

    Best,

    Alex

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded