visual studio 2008 - Adding Qt moc file to project -
is there way force recompile other projects moc
file? use visual studio, , got 1 qt project, added other project class interface , signals/slots (let thing.cpp
, thing.h
,
ui_thing.h
(has been included generated files
folder),
moc_thing.cpp
in generated files\debug
(because of main projects in debug mode),
and thing.ui
form files
)
it working ok until decided made changes, add slot/signals stuff. can guess included moc
file not recompiles. decided change properties of thing.h
.
i copied parameters main projects files in command line part there
"$(qtdir)\bin\moc.exe" "$(inputpath)" -o ".\generatedfiles\$(configurationname)\moc_$(inputname).cpp" -dunicode -dwin32 -dqt_largefile_support -dqt_thread_support -dqt_core_lib -dqt_gui_lib -dqwt3d_dll -dqt_dll -dqt_svg_lib -dqt_script_lib -dqt_multimedia_lib "-i.\parsers" "-i$(qwtdir)\include" "-i.\productionhistory\generatedfiles" "-i.\productionhistory" "-i.\generatedfiles" "-i$(qtdir)\include" "-i.\generatedfiles\$(configurationname)\." "-i$(qtdir)\include\qtmain" "-i$(qtdir)\include\qtcore" "-i$(qtdir)\include\qtsql" "-i$(qtdir)\include\qtgui" "-i." "-i$(boost)\." "-i.\well groups widget" "-i.\rules widget" "-i.\gui" "-i$(qtdir)\include\qtsvg" "-i$(qtdir)\include\qtscript" "-i$(qtdir)\include\activeqt" "-i$(qtdir)\include\qtmultimedia"
in output data part ".\databaseopening\generatedfiles\$(configurationname)\moc_$(inputname).cpp"
in additional dependencies part there "$(qtdir)\bin\moc.exe"; $(inputpath)
but still not recompiles. there way solve problem?
Comments
Post a Comment