T
T
TRNER2017-09-15 22:13:49
Qt
TRNER, 2017-09-15 22:13:49

How to fix "main.moc" creation error?

I am writing a program in Qt C ++, for some functions of its libraries to work, the "main.moc" file is needed, which qmake generates. Actually, running it to generate a file does nothing good. The build console says "jom 1.1.2 - empower your cores" and the compiler complains that "dependent 'release\main.moc' does not exist.". What should be done to fix this problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question