.moc file not found
-
Hi! I am having some issue with building my project. I used to work with this 5 months ago and it works well. However, I just start continueing with it by now with my new PC, re-setup everything. And this issue happens. I didnt change anything in this project last 5 months. Can anyone know what is the issue?

This is the cmake file:
qt_add_library(CalibratedColorizedVideo STATIC) find_package(Qt6 6.8 REQUIRED COMPONENTS Core Quick Multimedia MultimediaQuickPrivate ShaderTools) qt_add_qml_module(CalibratedColorizedVideo URI CalibratedColorizedVideo SOURCES calibratedcolorizedvideooutput.h calibratedcolorizedvideooutput.cpp SOURCES calibrationnode.h calibrationnode.cpp RESOURCES pixelwisequadraticcalibrate.vert pixelwisequadraticcalibrate.frag SOURCES colorizationnode.h colorizationnode.cpp RESOURCES piecewisecolorize.vert piecewisecolorize.frag SOURCES dynamicr32ftexture.h dynamicr32ftexture.cpp ) qt6_add_shaders(CalibratedColorizedVideo "shaders" BATCHABLE PREFIX "/calibratedcolorizedvideo" FILES "pixelwisequadraticcalibrate.vert" "pixelwisequadraticcalibrate.frag" "piecewisecolorize.vert" "piecewisecolorize.frag" ) target_link_libraries(CalibratedColorizedVideo PRIVATE Qt6::Core Qt6::GuiPrivate Qt6::Quick Qt6::Multimedia Qt6::MultimediaQuickPrivate ) -
Hi,
While you didn't change you code, you changed your setup.
What is the versions of the tools you have now VS the one from 5 months ago ? -
Hi,
please format your code with the </> code formatting tags.
My guess is that your build directory is still populated with a legacy build from a previous compiler version.
That may cause all kinds of unexpected problems.
Try a clean new build. -
Hi,
please format your code with the </> code formatting tags.
My guess is that your build directory is still populated with a legacy build from a previous compiler version.
That may cause all kinds of unexpected problems.
Try a clean new build.@Axel-Spoerl I will format it next time, it didnt allow me to edit the topic anymore now.
I delete and rebuild the project many time but it still didn't work
-
Hi,
While you didn't change you code, you changed your setup.
What is the versions of the tools you have now VS the one from 5 months ago ? -
Hi,
While you didn't change you code, you changed your setup.
What is the versions of the tools you have now VS the one from 5 months ago ? -
@Axel-Spoerl I will format it next time, it didnt allow me to edit the topic anymore now.
I delete and rebuild the project many time but it still didn't work
@Videas said in .moc file not found:
@Axel-Spoerl I will format it next time, it didnt allow me to edit the topic anymore now.
I delete and rebuild the project many time but it still didn't work
What do you mean by delete ?
Did you completely nuke the build folder and not just its content ? -
@Videas said in .moc file not found:
@Axel-Spoerl I will format it next time, it didnt allow me to edit the topic anymore now.
I delete and rebuild the project many time but it still didn't work
What do you mean by delete ?
Did you completely nuke the build folder and not just its content ? -
V Videas has marked this topic as solved on