QQuickWindow in 5.12
-
@J.Hilk said in QQuickWindow in 5.12:
I would post the other files, but nothing is generated the folders moc and obj and ui are empty.
That's probably the reason you get that error. Try commenting out the
OBJECTS_DIR
and the other qmake vars. -
@kshegunov said in QQuickWindow in 5.12:
@J.Hilk said in QQuickWindow in 5.12:
I would post the other files, but nothing is generated the folders moc and obj and ui are empty.
That's probably the reason you get that error. Try commenting out the
OBJECTS_DIR
and the other qmake vars.I'll try it , but I doubt it will change anything. I added the qmake vars because I couldn't find any generated files in the build folder and thought I had gone mental x)
I'll report back.
-
Okay, this is mighty odd. Please run
qmake
with-d
or-d -d
and get us some logs to inspect. Something definitely smells fishy ...PS:
If you want to generate the intermediate files in a separate dir, this is what I use:OBJECTS_DIR = $$DESTDIR/.obj/$$TARGET // ...
Works fine for me.
-
@kshegunov
alright, will do. May take a moment.
At the moment I'm fixing all kind of issues, apparently precompiled 5.12 ios libs do not come with QQuickControls 1 enabled, which I need. So my Mac is currently busy compiling it from source. -
@kshegunov
ok this, is the entirety of the build folder after the fail
this is the console output of qmake run with -d argument
out put is to long t post it here, I crop it to the last couple lines that handle the QQuickWidgetDEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/QtNetwork.prl:5: QMAKE_PRL_VERSION := 5.12.0 DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/QtNetwork.prl:6: QMAKE_PRL_LIBS := -F/Users/jonashilk/Qt/5.12.0/clang_64/lib -framework QtCore -framework DiskArbitration -framework IOKit DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/QtNetwork.prl:6: leaving block, okey=true DEBUG 1: done visiting file /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/QtNetwork.prl DEBUG 1: Replacing library reference QtNetwork with QtNetwork DEBUG 1: Processing PRL file: ../../Qt/5.12.0/clang_64/lib/QtCore.framework/QtCore.prl DEBUG 1: visiting file /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/QtCore.prl DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/QtCore.prl: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/QtCore.prl:2: QMAKE_PRO_INPUT := corelib.pro DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/QtCore.prl:3: QMAKE_PRL_TARGET := QtCore DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/QtCore.prl:4: QMAKE_PRL_CONFIG := lex yacc exceptions depend_includepath testcase_targets import_plugins import_qpa_plugin asset_catalogs rez qt_build_extra file_copies qmake_use qt warn_on release link_prl app_bundle incremental global_init_link_order lib_version_first sdk clang_pch_style shared qt_framework release macos osx macx mac darwin unix posix gcc clang llvm sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples f16c largefile precompile_header rdrnd shani x86SimdAlways prefix_build force_independent utf8_source create_prl link_prl prepare_docs qt_docs_targets no_private_qt_headers_warning QTDIR_build qt_example_installs testcase_exceptions explicitlib testcase_no_bundle warning_clean release ReleaseBuild Release build_pass exceptions qt_tracepoints moc resources simd optimize_full pcre2 generated_privates module_frameworks lib_bundle relative_qt_rpath app_extension_api_only git_build qmake_cache target_qt c++11 strict_c++ c++14 c99 c11 hide_symbols separate_debug_info need_fwd_pri qt_install_module debug_and_release build_all create_cmake sliced_bundle compiler_supports_fpmath create_pc release ReleaseBuild Release build_pass have_target dll exclusive_builds objective_c no_autoqmake any_bundle arch_haswell avx512common avx512core thread DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/QtCore.prl:5: QMAKE_PRL_VERSION := 5.12.0 DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/QtCore.prl:6: QMAKE_PRL_LIBS := -framework DiskArbitration -framework IOKit DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/QtCore.prl:6: leaving block, okey=true DEBUG 1: done visiting file /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/QtCore.prl DEBUG 1: Replacing library reference QtCore with QtCore DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:47: NOT DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:47: evaluating test function "isEmpty" DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:47: calling built-in isEmpty(WIN_INCLUDETEMP) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:47: test function returned true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:47: taking 'else' branch DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:47: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:50: incvar := DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:51: entering loop for inc over /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang /Users/jonashilk/Qt-Projekte/QuickWidgetTest /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtWidgets.framework/Headers /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtGui.framework/Headers /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQml.framework/Headers /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/Headers /Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/Headers . /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:51: loop iteration "/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang" DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:51: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: calling built-in $$shell_quote(/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: incvar := -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: loop iteration "/Users/jonashilk/Qt-Projekte/QuickWidgetTest" DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: calling built-in $$shell_quote(/Users/jonashilk/Qt-Projekte/QuickWidgetTest) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: incvar := -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang -I/Users/jonashilk/Qt-Projekte/QuickWidgetTest DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: loop iteration "/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers" DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: calling built-in $$shell_quote(/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: incvar := -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang -I/Users/jonashilk/Qt-Projekte/QuickWidgetTest -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: loop iteration "/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers" DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: calling built-in $$shell_quote(/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: incvar := -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang -I/Users/jonashilk/Qt-Projekte/QuickWidgetTest -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: loop iteration "/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtWidgets.framework/Headers" DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: calling built-in $$shell_quote(/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtWidgets.framework/Headers) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: incvar := -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang -I/Users/jonashilk/Qt-Projekte/QuickWidgetTest -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtWidgets.framework/Headers DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: loop iteration "/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtGui.framework/Headers" DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: calling built-in $$shell_quote(/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtGui.framework/Headers) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: incvar := -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang -I/Users/jonashilk/Qt-Projekte/QuickWidgetTest -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtGui.framework/Headers DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: loop iteration "/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQml.framework/Headers" DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: calling built-in $$shell_quote(/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQml.framework/Headers) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: incvar := -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang -I/Users/jonashilk/Qt-Projekte/QuickWidgetTest -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtGui.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQml.framework/Headers DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: loop iteration "/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/Headers" DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: calling built-in $$shell_quote(/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/Headers) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: incvar := -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang -I/Users/jonashilk/Qt-Projekte/QuickWidgetTest -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtGui.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQml.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/Headers DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: loop iteration "/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/Headers" DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: calling built-in $$shell_quote(/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/Headers) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: incvar := -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang -I/Users/jonashilk/Qt-Projekte/QuickWidgetTest -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtGui.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQml.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/Headers DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: loop iteration "." DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: calling built-in $$shell_quote(.) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: incvar := -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang -I/Users/jonashilk/Qt-Projekte/QuickWidgetTest -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtGui.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQml.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/Headers -I. DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: loop iteration "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1" DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: calling built-in $$shell_quote(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: incvar := -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang -I/Users/jonashilk/Qt-Projekte/QuickWidgetTest -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtGui.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQml.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: loop iteration "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include" DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: calling built-in $$shell_quote(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: incvar := -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang -I/Users/jonashilk/Qt-Projekte/QuickWidgetTest -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtGui.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQml.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: loop iteration "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include" DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: calling built-in $$shell_quote(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: incvar := -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang -I/Users/jonashilk/Qt-Projekte/QuickWidgetTest -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtGui.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQml.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: loop iteration "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include" DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: calling built-in $$shell_quote(/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: incvar := -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang -I/Users/jonashilk/Qt-Projekte/QuickWidgetTest -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtGui.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQml.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:52: done looping DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:53: incvar := -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang -I/Users/jonashilk/Qt-Projekte/QuickWidgetTest -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtGui.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQml.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -F/Users/jonashilk/Qt/5.12.0/clang_64/lib DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:53: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:53: finished 'else' branch DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:56: RET := /Users/jonashilk/Qt/5.12.0/clang_64/bin/moc $(DEFINES) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:57: condition "msvc" is false DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:57: taking 'else' branch DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:57: finished 'else' branch DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:59: evaluating test function "isEmpty" DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:59: calling built-in isEmpty(MOC_PREDEF_FILE) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:59: test function returned false DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:59: taking 'else' branch DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:59: entering block DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:60: calling built-in $$absolute_path(./moc_predefs.h, /Users/jonashilk/Qt-Projekte/build-QuickWidgetTest-Desktop_Qt_5_12_0_clang_64bit2-Debug) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:60: calling built-in $$shell_quote(/Users/jonashilk/Qt-Projekte/build-QuickWidgetTest-Desktop_Qt_5_12_0_clang_64bit2-Debug/moc_predefs.h) DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:60: RET := /Users/jonashilk/Qt/5.12.0/clang_64/bin/moc $(DEFINES) --include /Users/jonashilk/Qt-Projekte/build-QuickWidgetTest-Desktop_Qt_5_12_0_clang_64bit2-Debug/moc_predefs.h DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:60: leaving block, okey=true DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:60: finished 'else' branch DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:62: RET := /Users/jonashilk/Qt/5.12.0/clang_64/bin/moc $(DEFINES) --include /Users/jonashilk/Qt-Projekte/build-QuickWidgetTest-Desktop_Qt_5_12_0_clang_64bit2-Debug/moc_predefs.h -I/Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/macx-clang -I/Users/jonashilk/Qt-Projekte/QuickWidgetTest -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuickWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQuick.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtWidgets.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtGui.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtQml.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtNetwork.framework/Headers -I/Users/jonashilk/Qt/5.12.0/clang_64/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -F/Users/jonashilk/Qt/5.12.0/clang_64/lib DEBUG 1: /Users/jonashilk/Qt/5.12.0/clang_64/mkspecs/features/moc.prf:63: flow control statement 'return', aborting block 14:14:03: The process "/Users/jonashilk/Qt/5.12.0/clang_64/bin/qmake" exited normally. 14:14:03: Starting: "/usr/bin/make" -f /Users/jonashilk/Qt-Projekte/build-QuickWidgetTest-Desktop_Qt_5_12_0_clang_64bit2-Debug/Makefile qmake_all make: Nothing to be done for `qmake_all'. 14:14:03: The process "/usr/bin/make" exited normally. 14:14:03: Elapsed time: 00:16.
-
Ok, some more updates,
If I remove the QQuickWidget and run make to generate all needed files, and than add the QQuickWidget and hit compile/run it works.
BUT if I force a qmake rerun, it failed!-> running make without QQuickWidgets in the ui -> than adding QQuickWidgets -> everything works fine
but as soon as I need to generate the files a new aka, deleting build folder or forcing a manual qmake, it fails to compile.
This is frustrating.
-
@J.Hilk said in QQuickWindow in 5.12:
-> running make without QQuickWidgets in the ui -> than adding QQuickWidgets -> everything works fine
Very weird.
Could you grab a copy of the working build folder and a copy of the non-working build folder, then diff their contents? (like the Makefiles)
-
@J.Hilk said in QQuickWindow in 5.12:
This is frustrating.
I can imagine. Unfortunately I don't see anything really suspicious in the qmake log. Very odd indeed.
-
A general update.
Over the weekend, I updated QTC and Qt on my private iMac to the latest versions as well.
The issue with QQuickWidgets is reproducible with that installation of Qt as well as with the one on my MacBook, this seems to be a general problem?I took my own advice and contacted Customer Support as well, hopefully Irfan can shed some light on the issue ;-)
@JKSH said in QQuickWindow in 5.12:
@J.Hilk said in QQuickWindow in 5.12:
-> running make without QQuickWidgets in the ui -> than adding QQuickWidgets -> everything works fine
Very weird.
Could you grab a copy of the working build folder and a copy of the non-working build folder, then diff their contents? (like the Makefiles)
Well the diff output is not very large, everything is missing accept the make file, and the difference between those two is:
-
@J.Hilk well I guess it‘s now officially a bug:
https://bugreports.qt.io/browse/QTBUG-72641I‘ll keep this topic open until the bugreport is closed.
Thanks all for the help in trying to figure it out!
-
And rejected as not reproducible, seems like only my 3 macs are effected.
I give up and stick with 5.11 for the foreseeable future.
-
I posted a workaround at the bug report QTBUG-72641:
-
clean the build folder, especially delete ui_mainwindow.h.
-
In Forms/mainwindow.ui change
<header>QtQuickWidgets/QQuickWidget</header>
to
<header>QQuickWidget</header>
and rebuild.
So go ahead and use Qt 5.12 :)
-
-
hey @Kalileo thank you very much.
It does require an external text editor, because you're not allowed to edit the ui file in xml format from QtC 🙄, but it's a 1 time modefication of the file and it will work for any and all rebuilds.
Very nice!
-
A quick and final update:
https://bugreports.qt.io/browse/QTBUG-72641
The topic was reopened - in no small part due to @Kalileo I believe ;-) - and the error seems to be found and fixed.The fixed version seems to be the upcoming 5.12.1 and onwards.
Thanks everyone for the interest and help in the issue.