Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QQuickWindow in 5.12
Forum Update on Monday, May 27th 2025

QQuickWindow in 5.12

Scheduled Pinned Locked Moved Solved General and Desktop
qquickwindowmac os xqt 5.12
22 Posts 4 Posters 5.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J.HilkJ Offline
    J.HilkJ Offline
    J.Hilk
    Moderators
    wrote on last edited by J.Hilk
    #6

    Maybe my iOS precompiled libary is horribly broken. Because I'm also unable to use import QtQuick.Dialogs because that one depends on QtQuick.Controls 1.2 which it does not find.
    Qt Quick Controls 1 is marked as deprecated, I know, but QtQuick.Dialogs is not.

    But only on iOS of course, loads fine on macOS.

    Technically I don't use the FileDialog on iOS and android, but I don't think theres someting similar for QML as there is for c++ ?

    #if defined(Q_OS_WIN) || defined(Q_OS_MACOS)
       FileDialog {
    
      }
    #endif
    

    Edit:
    I was able to fix that FileDialog issue with a Loader and a check for Qt.platform.os === "ios" to set the source or not.


    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


    Q: What's that?
    A: It's blue light.
    Q: What does it do?
    A: It turns blue.

    1 Reply Last reply
    0
    • J.HilkJ J.Hilk

      @kshegunov said in QQuickWindow in 5.12:

      Depends on how you added the widget. If you just dragged a standard one it should work out of the box.

      that's what I did.

      Can you post the generated ui header, the project file and a grep-ed portion of the makefile that shows the target for the particular object (i.e. ui_mainwindow.o and/or ui_mainwindow.h)?

      sure,
      here you go:

      Project file:

      #-------------------------------------------------
      #
      # Project created by QtCreator 2018-12-13T06:58:33
      #
      #-------------------------------------------------
      
      QT       += core gui quickwidgets
      
      greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
      
      TARGET = QuickWidgetTest
      TEMPLATE = app
      
      OBJECTS_DIR = temporary/obj
      MOC_DIR = temporary/moc
      RCC_DIR = temporary/rsc
      UI_DIR = temporary/ui
      
      # The following define makes your compiler emit warnings if you use
      # any feature of Qt which has been marked as deprecated (the exact warnings
      # depend on your compiler). Please consult the documentation of the
      # deprecated API in order to know how to port your code away from it.
      DEFINES += QT_DEPRECATED_WARNINGS
      
      # You can also make your code fail to compile if you use deprecated APIs.
      # In order to do so, uncomment the following line.
      # You can also select to disable deprecated APIs only up to a certain version of Qt.
      #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
      
      CONFIG += c++11
      
      SOURCES += \
              main.cpp \
              mainwindow.cpp
      
      HEADERS += \
              mainwindow.h
      
      FORMS += \
              mainwindow.ui
      
      # Default rules for deployment.
      qnx: target.path = /tmp/$${TARGET}/bin
      else: unix:!android: target.path = /opt/$${TARGET}/bin
      !isEmpty(target.path): INSTALLS += target
      
      

      I would post the other files, but nothing is generated the folders moc and obj and ui are empty.


      I could post the Makefile that's the only other file generated besides and arbitrary app-bundle

      kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by
      #7

      @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.

      Read and abide by the Qt Code of Conduct

      J.HilkJ 1 Reply Last reply
      0
      • kshegunovK kshegunov

        @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.

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #8

        @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.


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        kshegunovK 1 Reply Last reply
        0
        • J.HilkJ J.Hilk

          @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.

          kshegunovK Offline
          kshegunovK Offline
          kshegunov
          Moderators
          wrote on last edited by kshegunov
          #9

          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.

          Read and abide by the Qt Code of Conduct

          J.HilkJ 2 Replies Last reply
          1
          • kshegunovK kshegunov

            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.

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #10

            @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.


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            1 Reply Last reply
            0
            • kshegunovK kshegunov

              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.

              J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote on last edited by J.Hilk
              #11

              @kshegunov
              ok this, is the entirety of the build folder after the fail
              0_1544793006783_56983d77-6d8a-43a0-bd04-185db420a935-image.png

              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 QQuickWidget

              DEBUG 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.
              

              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              1 Reply Last reply
              0
              • J.HilkJ Offline
                J.HilkJ Offline
                J.Hilk
                Moderators
                wrote on last edited by
                #12

                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.


                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                JKSHJ kshegunovK 2 Replies Last reply
                0
                • J.HilkJ J.Hilk

                  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.

                  JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #13

                  @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)

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                  J.HilkJ 1 Reply Last reply
                  2
                  • J.HilkJ J.Hilk

                    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.

                    kshegunovK Offline
                    kshegunovK Offline
                    kshegunov
                    Moderators
                    wrote on last edited by
                    #14

                    @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.

                    Read and abide by the Qt Code of Conduct

                    1 Reply Last reply
                    1
                    • JKSHJ JKSH

                      @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.HilkJ Offline
                      J.HilkJ Offline
                      J.Hilk
                      Moderators
                      wrote on last edited by
                      #15

                      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:
                      0_1545033100596_d273bb30-f663-4e72-b0a1-6f8321728d68-image.png


                      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                      Q: What's that?
                      A: It's blue light.
                      Q: What does it do?
                      A: It turns blue.

                      J.HilkJ 1 Reply Last reply
                      0
                      • J.HilkJ J.Hilk

                        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:
                        0_1545033100596_d273bb30-f663-4e72-b0a1-6f8321728d68-image.png

                        J.HilkJ Offline
                        J.HilkJ Offline
                        J.Hilk
                        Moderators
                        wrote on last edited by
                        #16

                        @J.Hilk well I guess it‘s now officially a bug:
                        https://bugreports.qt.io/browse/QTBUG-72641

                        I‘ll keep this topic open until the bugreport is closed.

                        Thanks all for the help in trying to figure it out!


                        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                        Q: What's that?
                        A: It's blue light.
                        Q: What does it do?
                        A: It turns blue.

                        kshegunovK 1 Reply Last reply
                        1
                        • J.HilkJ J.Hilk

                          @J.Hilk well I guess it‘s now officially a bug:
                          https://bugreports.qt.io/browse/QTBUG-72641

                          I‘ll keep this topic open until the bugreport is closed.

                          Thanks all for the help in trying to figure it out!

                          kshegunovK Offline
                          kshegunovK Offline
                          kshegunov
                          Moderators
                          wrote on last edited by
                          #17

                          Yep, thanks for linking it here as well.

                          PS.
                          You changed names in the mean time ... very slick ... :)

                          Read and abide by the Qt Code of Conduct

                          1 Reply Last reply
                          0
                          • J.HilkJ Offline
                            J.HilkJ Offline
                            J.Hilk
                            Moderators
                            wrote on last edited by
                            #18

                            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.


                            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                            Q: What's that?
                            A: It's blue light.
                            Q: What does it do?
                            A: It turns blue.

                            1 Reply Last reply
                            0
                            • K Offline
                              K Offline
                              Kalileo
                              wrote on last edited by
                              #19

                              I posted a workaround at the bug report QTBUG-72641:

                              1. clean the build folder, especially delete ui_mainwindow.h.

                              2. In Forms/mainwindow.ui change

                              <header>QtQuickWidgets/QQuickWidget</header>
                              

                              to

                              <header>QQuickWidget</header>
                              

                              and rebuild.

                              So go ahead and use Qt 5.12 :)

                              J.HilkJ 1 Reply Last reply
                              6
                              • K Kalileo

                                I posted a workaround at the bug report QTBUG-72641:

                                1. clean the build folder, especially delete ui_mainwindow.h.

                                2. In Forms/mainwindow.ui change

                                <header>QtQuickWidgets/QQuickWidget</header>
                                

                                to

                                <header>QQuickWidget</header>
                                

                                and rebuild.

                                So go ahead and use Qt 5.12 :)

                                J.HilkJ Offline
                                J.HilkJ Offline
                                J.Hilk
                                Moderators
                                wrote on last edited by
                                #20

                                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!


                                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                                Q: What's that?
                                A: It's blue light.
                                Q: What does it do?
                                A: It turns blue.

                                K 1 Reply Last reply
                                2
                                • J.HilkJ J.Hilk

                                  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!

                                  K Offline
                                  K Offline
                                  Kalileo
                                  wrote on last edited by
                                  #21

                                  @J.Hilk

                                  You can also do it within QtCreator:

                                  • right click on "mainwindow.ui"
                                  • select "Open With" and then "Plain Text Editor"
                                  1 Reply Last reply
                                  4
                                  • J.HilkJ Offline
                                    J.HilkJ Offline
                                    J.Hilk
                                    Moderators
                                    wrote on last edited by
                                    #22

                                    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.


                                    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                                    Q: What's that?
                                    A: It's blue light.
                                    Q: What does it do?
                                    A: It turns blue.

                                    1 Reply Last reply
                                    2

                                    • Login

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Users
                                    • Groups
                                    • Search
                                    • Get Qt Extensions
                                    • Unsolved