ios - Duplicate symbols while compiling QtQuick2 application -
I am currently trying to create and run QtQuick 2 applications, but a duplicate symbol error is displayed:
Here Various project files include: / code> I feel very strange that there are many duplicate symbols in my file, but this is not ... This happens only when I go with iOS, Not desktop (Mac or Mac windows) nor Android Has any change in the encoded project? Thank you in advance I have to find out if there is something wrong with the duplicate Hope this will help! ld: 55 duplicate symbols of architecture i386 and here are some duplication:
duplicate symbol __ZTS16QActionAnimation in: /Users/momo/Qt5.2.1 /5.2.1 /ios/lib/libQt5Quick_iphonesimulator_debug.a (ququickanimation.o) / User / Momo / Quit 5.2.1 / 5.2.1 / ios / lib / libQt5Declarative_iphonesimulator_debug.a (moc_qdeclarativeanimation_p_p.o) Duplicate Symbols __Z30_q_InterruptShortstore Nardis_di in: / Users / mamo / Qt 5. 2.1 / 5.2.1 / iOS / Lib / libQt5Declarative_iphonesimulator_debug.a (qdeclarativeanimation.o) / Users / MoMA / QEt 5.2.1 / 5.2.1 / OS / LIB / LIBQ5Quick_iphonesimulator_debug.a (qquickanimation.o) Duplicate Symbols __Z31_q_InterolocationClockwise Rotation RDS_D in: / usr /momo/Qt5.2.1/5.2.1/ios/lib/libQt5Declarative_iphonesimulator_debug.a(qdeclarativeanimation.o) / usr / Momo / Quit 5.2.1 / 5.2.1 / ios / lib / libQt5Quick_iphonesimulator_debug.a (qq Uickanimation.o) Duplicate symbol __Z38_q_Innerpolate quakrokoxide rotation RDS_D in: / Users / MOOM / Quit 5.2.1 / 5.2.1 / OS / A Laibi / Elaibikyuti 5 Daiklretiv_ifonimuletr_debg.a (Waidaclaralitianimeshnko) / Ussers / Momo / QT 5.2.1 / 5.2.1 / OS / LB /libQt5Quick_iphonesimulator_debug.a (ququickanimation.o)
main.cpp:
#include & lt; QtGui / QGuiApplication & gt; # Include & lt; QQmlContext & gt; # Include & lt; QScreen & gt; # Include & lt; QRect & gt; #include "qtquick2applicationviewer.h" #include "dataobject.h" int main (int argc, char * argv []) {...}
dataobject.cpp: < DataObject :: DataObject (QObject * parent): QObject (parent) {} ...
dataobject.h:
#ifndef DATAOBJECT_H #define DATAOBJECT_H #include & lt; QObject & gt; Class data object: public QObject {...}; #endif // DATAOBJECT_H
Build Phases-> gt; Compile and see if there are duplicates in your classes.
Comments
Post a Comment