Qt Meta Object Compiler Installment

Posted on -
Qt Meta Object Compiler Installment 3,4/5 931 reviews

Feb 23, 2016. Checking for Qt: ERROR: qmake returned with error: QMAKESPEC has not been set, so configuration cannot be deduced. Error processing project file. 1 STDERR: Qt Meta Object Compiler version 63 (Qt 4.8.7) >> REPORT: moc (version 4.8.7) REPORT: Checking for Qt qmake: EXEC.

  • Install 32-bit Lua. To get the 32-bit compiled Lua files needed by 32-bit VLC, you need the 32-bit Lua byte compiler. (The 64-bit version produces 64-bit files and does not currently have an option to produce 32-bit files.) By default, you will already have 64-bit Lua installed, because the Yum/RPM packaging system depends on it.
  • Linguisttools, localization tools: lrelease, lupdate (Qt 5 only). Linguist, localization tools: lrelease, lupdate (Qt 4 only). Moc, meta object compiler, needed for almost every Qt application at buildtime (Qt 4 only). Rcc, resource compiler, needed if the application comes with *.rc or *.qrc files (Qt 4 only). Uic, user interface compiler,.
Active4 years, 5 months ago

I was earlier using GCC on DevC++. I am trying to do the same with Qt. but it did not detect my compiler. I tried linking my GCC stuff in DevC++bin using manual compiler option. It didn't work. Every time I compile my program it says 'qt creator needs a compiler set up to build.'

I looked for the answers everywhere but I could get the same.

sepp2k
310k41 gold badges609 silver badges627 bronze badges
Gaurav SainiGaurav Saini

1 Answer

I assume you are using Windows - the installer for Qt typically comes with an included version of GCC, so you can just chose to install it, Qt will use that and automatically do all the configurations.

Qt meta object compiler installment loanQt meta object compiler installment plan

If you are building Qt yourself, make sure you get an up-to-date version of GCC and carefully follow the instructions.

Qt employs a MOC - a meta object compiler, which generates lots of boilerplate code to make development easier. Meaning you have to run qmake before you compile the sources.

Online Qt Compiler

I'd recommend to use Qt's own IDE - Creator - it is available on multiple platforms and is pretty good, tailored around Qt's programming idioms and best of all - will take care of the build process and of its requirements as well. It is most certainly better than the DevC++ IDE.

dtechdtech

Qt Meta Object Compiler Installment Loan

35.8k14 gold badges77 silver badges138 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Not the answer you're looking for? Browse other questions tagged qtbuildset or ask your own question.