Qmlapplicationviewer ignoring and overriding



  • @C:\Users\Darrel\Desktop\Test\build-sbs2-EEGViewer-Android_for_armeabi_v7a_GCC_4_8_Qt_5_2_1-Debug\makefile:14851: warning: overriding recipe for target 'moc_qmlapplicationviewer.cpp'

    C:\Users\Darrel\Desktop\Test\build-sbs2-EEGViewer-Android_for_armeabi_v7a_GCC_4_8_Qt_5_2_1-Debug\makefile:12211: warning: ignoring old recipe for target 'moc_qmlapplicationviewer.cpp'

    C:\Users\Darrel\Desktop\Test\build-sbs2-EEGViewer-Android_for_armeabi_v7a_GCC_4_8_Qt_5_2_1-Debug\makefile:30828: warning: overriding recipe for target 'qmlapplicationviewer.obj'

    C:\Users\Darrel\Desktop\Test\build-sbs2-EEGViewer-Android_for_armeabi_v7a_GCC_4_8_Qt_5_2_1-Debug\makefile:30371: warning: ignoring old recipe for target 'qmlapplicationviewer.obj'

    :-1: error: error: qmlapplicationviewer.obj: multiple definition of 'QmlApplicationViewerPrivate::adjustPath(QString const&)'

    :-1: error: qmlapplicationviewer.obj: previous definition here

    :-1: error: error: qmlapplicationviewer.obj: multiple definition of 'QmlApplicationViewer::QmlApplicationViewer(QWidget*)'

    :-1: error: qmlapplicationviewer.obj: previous definition here

    .
    .
    .
    @

    I haven't seen this before and not sure how to fix it.



  • I had a similar issue... Not sure why but I solved it by removing unused header files from the below entry from .pro file. @ HEADER += ... @


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.