Details
-
Bug
-
Resolution: Cannot Reproduce
-
P1: Critical
-
None
-
2.6.0
-
None
-
Windows x64
Visual Studio 2019
plugin 2.6.0
Description
I just started getting a moc error for a project that worked for months. I don't know the cause or how to fix it. I uninstalled/reinstalled Qt, Visual Studio and the plugin. Nothing has worked.
I did not change any configuration before this started happening.
The full path to the project does have spaces
C:\Users\drogers\Documents\Visual Studio 2010\Projects\ImageViewers\Phot
However, other Qt projects in that folder compile correctly and this has worked before.
The example project works fine in this directory.
C:\Users\drogers\Documents\Visual Studio 2010\Projects\ImageViewers\Phot\test\hellovulkanwidget
I use Perforce and it did not indicate the project was changed when the error started to occur.
1>------ Build started: Project: Phot, Configuration: Debug x64 ------ 1>moc Phot.h 1>moc EditorManager.h 1>moc ..\QtAsync\include\thinkerqt\signalthrottler.h 1>moc ..\QtAsync\include\thinkerqt\thinkerbase.h 1>moc ..\QtAsync\include\thinkerqt\thinkermanager.h 1> moc: Too many input files specified: 'C:\Users\drogers\Documents\Visual Studio 2010\Projects\ImageViewers\Phot\Phot.h' 'Studio' '2010/Projects/ImageViewers/Phot/Debug/x64/obj/Phot/qmake/temp\"' 1> Usage: C:/Qt/5.15.1/msvc2019_64/bin/moc [options] [header-file] [@option-file] [MOC generated json file] 1> Qt Meta Object Compiler version 67 (Qt 5.15.1)
It does this for every Qt header file. I am blocked by this.
Attachments
Issue Links
- relates to
-
QTVSADDINBUG-822 Qt Visual Studio Tools 2.6.0: moc doesn't respect defines from .qmake.conf
-
- Closed
-