Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.2.2
-
None
Description
- Install Qt 6.2.2 from the installer
- Install QtMultimedia QtRemoteObjects and QtInterfaceFramework
- Open QtCreator
- Open the qface-tutorial in <Qt>\Examples\6.2.2\interfaceframework\qface-tutorial
- Build it
The build fails with undefined references to metaObject functions because moc files where not generated.
Checking the Makefile.debug in chapter4-simulation-behavior\backend_simulator shows no moc calls.
The example can be fixed by adapting the paths slightly:
- Rename the backend_simulator.pro to backend.pro
- Rename the backend_simulator folder to backend
- Adapt the chapter4-simulation-behavior.pro to use the new backend folder
Because of the shorter path the moc calls show up in the Makefile and everything works fine.
Attachments
Issue Links
- is required for
-
QTBUG-98849 Build problem with the qface-tutorial
- Closed
For Gerrit Dashboard: QTBUG-99791 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
391694,2 | qmake: Scan source files with QFile | dev | qt/qtbase | Status: MERGED | +2 | 0 |