when i download a fresh copy from our SVN, make then run my program, Qt tells me that one of my SLOTS doesn’t work but with a handy-dandy make clean then make, it seems to solve the problem. i continue to make changes in the code on my PC and that message never shows again.
C++
Qt 4.6
gcc
has anyone had this problem?
and ideas?
thanks
Qt creates a whole bunch of metadata about your Q_OBJECT classes when you build. That metadata is stored in ‘moc’ files, one of which may have become inconsistent with your C++ code. It’s usually a bad idea to store intermediate build stages in your version control system. I’d suggest running
make clean, then looking at your VCS to find out what files got deleted, then commit the result.In svn: