d_stranz - Thanks for responding... I'm just letting you know - I have your message... give me just a second... I think we found this very strange problem... Compiling now... I will. Sorry about the #icon to insert the tags... usually on forums I'm answering questions... LOL! give me 4 minutes... its recompiling.
Added after 28 minutes:
OKAY d_strange
AGAIN... thanks for your response. As I mentioned earlier I looked in the vcxproj file to see if there was any inconsistencies. I made note that this happen late at night like 11:30 to 1:00am. LOL. because of that - I looked again at that file that was generated from the QT plug-in for Visual Studio. This is what I Found;
<CustomBuild Include="DEBUG\.obj\abstractextractor.obj">
<FileType>Document</FileType>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">sfark\abstractextractor.cpp;%(AdditionalInputs)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cl -D__LITTLE_ENDIAN__ -MD -arch:IA32 -D_CRT_SECURE_NO_WARNINGS -I. -Ilib -Ilib\win -Ilib\ogg_vorbis -Ilib\rtmidi -Ilib\stk -Ilib\qcustomplot -Igui_divers -Iconfiguration -Ipages -Iqcustomplot -Iressources -Isf2_core -Itools -Iclavier -Isynthetiseur -Isynthetiseur\elements -Isfark -Ilib\sf3 -I. -Ilib\sfarklib -I$(QTDIR)\include -I$(QTDIR)\include\QtPrintSupport -I$(QTDIR)\include\QtSvg -I$(QTDIR)\include\QtWidgets -I$(QTDIR)\include\QtGui -I$(QTDIR)\include\QtANGLE -I$(QTDIR)\include\QtCore -IDEBUG\.moc -IDEBUG\.ui -I$(QTDIR)\mkspecs\win32-msvc2015 -c sfark\abstractextractor.cpp -FoDEBUG\.obj\abstractextractor.obj</Command>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cl</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">DEBUG\.obj\abstractextractor.obj;%(Outputs)</Outputs>
</CustomBuild>
<CustomBuild Include="DEBUG\.obj\abstractextractor.obj">
<FileType>Document</FileType>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">sfark\abstractextractor.cpp;%(AdditionalInputs)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cl -D__LITTLE_ENDIAN__ -MD -arch:IA32 -D_CRT_SECURE_NO_WARNINGS -I. -Ilib -Ilib\win -Ilib\ogg_vorbis -Ilib\rtmidi -Ilib\stk -Ilib\qcustomplot -Igui_divers -Iconfiguration -Ipages -Iqcustomplot -Iressources -Isf2_core -Itools -Iclavier -Isynthetiseur -Isynthetiseur\elements -Isfark -Ilib\sf3 -I. -Ilib\sfarklib -I$(QTDIR)\include -I$(QTDIR)\include\QtPrintSupport -I$(QTDIR)\include\QtSvg -I$(QTDIR)\include\QtWidgets -I$(QTDIR)\include\QtGui -I$(QTDIR)\include\QtANGLE -I$(QTDIR)\include\QtCore -IDEBUG\.moc -IDEBUG\.ui -I$(QTDIR)\mkspecs\win32-msvc2015 -c sfark\abstractextractor.cpp -FoDEBUG\.obj\abstractextractor.obj</Command>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cl</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">DEBUG\.obj\abstractextractor.obj;%(Outputs)</Outputs>
</CustomBuild>
To copy to clipboard, switch view to plain text mode
The -MD switch never converted to -MDd as it should. Once I changed it, the program was built. Still with warnings;
warning MSB8017: A circular dependency has been detected while executing custom build commands for item "DEBUG\.obj\abstractextractor.obj".
warning MSB8017: A circular dependency has been detected while executing custom build commands for item "DEBUG\.obj\abstractextractor.obj".
To copy to clipboard, switch view to plain text mode
AND
DEBUG\.obj\abstractextractor.obj : warning LNK4042: object specified more than once; extras ignored
DEBUG\.obj\abstractextractor.obj : warning LNK4042: object specified more than once; extras ignored
To copy to clipboard, switch view to plain text mode
8 each. Which leads me to believe these are related to the first 8 warnings I received/mentioned on my original post.
SO APPRENTLY - The conversion between the loading the .pro in both (Creator and Studio) did not make this adjustment. O-WISE-ONE... do you have any idea why there is a "circular dependency". issue? I thought this was resolved with the CObject definition.
FINALLY
Don't worry about Restructuring part... my amateur days are long over.
Originally Posted by
d_stranz
No, no, no. The "moc_Foo.cpp" files are automatically generated by the MOC compiler, which reads the header files for those classes derived frm QObject (which includes QWidget and descendents). Deleting, renaming, etc. is useless and will make your situation even worse because now you'll have a mix of automatically generated and manually modified files.
I already isolated the ones generated by QT and the moc_<files> created by this original coder. LOL LOL LOL. I was only considering his - because it was the ones with the issue. I still have no idea why he did this. And it is these same 8 files.
THANK YOU SIR - put this one in your list of resolutions... sometimes on larger projects they may need to open the project file check the -MD switch.
Bookmarks