[Qt-creator] Error in compiling qt Project

Kapil Gupta kpgupta98 at gmail.com
Fri Oct 7 12:45:41 CEST 2016


Hi,

I am having this error on compiling my project:

'''

16:11:13: Running steps for project generic-object-detection...

16:11:13: Starting: "/usr/bin/cmake" --build . --target all

[ 5%] Automatic moc and rcc for target deep-app

Generating moc_device.cpp

/home/cortana/Documents/MinorProject/Generic-Object-Detection/vendor/io.papyros.material/src/core/device.h:73:
*Error: NOTIFY signal 'geometryChanged' of property 'formFactor' does not
exist in class Device.*

AUTOGEN: error: process for
/home/cortana/QtProjects/build-deep-app-Desktop_Qt_5_7_0_GCC_64bit-Default/src/moc_device.cpp
failed:

/home/cortana/Documents/MinorProject/Generic-Object-Detection/vendor/io.papyros.material/src/core/device.h:73:
Error: NOTIFY signal 'geometryChanged' of property 'formFactor' does not
exist in class Device.


Generating moc_units.cpp

/home/cortana/Documents/MinorProject/Generic-Object-Detection/vendor/io.papyros.material/src/core/units.h:54:*
Error: NOTIFY signal 'dpChanged' of property 'dp' does not exist in class
UnitsAttached.*

AUTOGEN: error: process for
/home/cortana/QtProjects/build-deep-app-Desktop_Qt_5_7_0_GCC_64bit-Default/src/moc_units.cpp
failed:

/home/cortana/Documents/MinorProject/Generic-Object-Detection/vendor/io.papyros.material/src/core/units.h:54:
Error: NOTIFY signal 'dpChanged' of property 'dp' does not exist in class
UnitsAttached.


moc failed...

src/CMakeFiles/deep-app_automoc.dir/build.make:57: recipe for target
'src/CMakeFiles/deep-app_automoc' failed

CMakeFiles/Makefile2:123: recipe for target
'src/CMakeFiles/deep-app_automoc.dir/all' failed

Makefile:83: recipe for target 'all' failed

make[2]: *** [src/CMakeFiles/deep-app_automoc] Error 1

make[1]: *** [src/CMakeFiles/deep-app_automoc.dir/all] Error 2

make: *** [all] Error 2

16:11:13: The process "/usr/bin/cmake" exited with code 2.

Error while building/deploying project generic-object-detection (kit:
Desktop Qt 5.7.0 GCC 64bit)

When executing step "Make"

16:11:13: Elapsed time: 00:00.

'''
I tried to find solutions online, but the best I have uptil now is that
there might be some clash in names of included libraries. The error is
being thrown by Papyros' material code.
I tried changing the name in the code but that didn't resolve anything. How
do I remove these errors?

Kapil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20161007/d2ff5e3d/attachment.html>


More information about the Qt-creator mailing list