DanReed
2nd June 2010, 18:28
I am using a 3rd party class from wwWidgets that compiles fine. The class (qwwLongSpinBox) is run through moc and a moc_qwwlongspinbox.cpp file is generated. It is included in qwwlongspinbox.cpp and comiled there and most importantly only compiled there.
Now if I duplicate the files/class into qwwuintspinbox all is good except that the qmake generated Makefile tries to compile moc_qwwuintspinbox.cpp seperately which produces compile time errors.
So the question is: what makes qmake NOt add a file (in this case moc_qwwlongspinbox.cpp) for compilation?
I don't see any flags or what not.
Thanks,
Dan
Now if I duplicate the files/class into qwwuintspinbox all is good except that the qmake generated Makefile tries to compile moc_qwwuintspinbox.cpp seperately which produces compile time errors.
So the question is: what makes qmake NOt add a file (in this case moc_qwwlongspinbox.cpp) for compilation?
I don't see any flags or what not.
Thanks,
Dan