Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-67758

QDesigner built from source can't open templates

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.10.1
    • None
    • MS VS17 15.6.6 English

      Win 10 x64 German

    Description

      Hi all,

      I built Qt 5.10.1 from source with msvc2017 on Win 10 x64 and I've a problem with the designer.

      After the build was finished, I open the designer and choose one of the listed template. The designer tells me that this isn't possible, because of a read error. The UI file couldn't be opened from AppData/Loval/Temp because another process uses the file.

      I terminated processes such as Indexer and Anti-Virus and tried it again with the same error.

      Starting the designer with admin rights didn't solved the problem too. Users of the build on other computers have the same problem.

      I've also a complete Qt 5.10.1 from the archive installed, where this problem doesn't occur.

      As far as I was able to look after the problem the templates are included in a Qt Resource File of the designer itself.

      So where is the problem?

      Kind regards,
      Mike

      Update: I searched through the moc/build files of the Qt build and found the following in qttools\src\designer\src\lib\Makefile.Debug:

      .rcc\debug\qrc_shared.cpp: C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\shared.qrc \
      C:\Qt_src\5.10.1\_build\msvc2017_x86_nmake\mocs\qtbase\bin\rcc.exe \
      C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\defaultgradients.xml \
      C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\templates\forms\Main_Window.ui \
      C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\templates\forms\Dialog_without_Buttons.ui \
      C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\templates\forms\Widget.ui \
      C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\templates\forms\Dialog_with_Buttons_Bottom.ui \
      C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\templates\forms\Dialog_with_Buttons_Right.ui \
      C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\templates\forms\320x240\Dialog_with_Buttons_Bottom.ui \
      C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\templates\forms\320x240\Dialog_with_Buttons_Right.ui \
      C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\templates\forms\240x320\Dialog_with_Buttons_Bottom.ui \
      C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\templates\forms\240x320\Dialog_with_Buttons_Right.ui \
      C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\templates\forms\640x480\Dialog_with_Buttons_Bottom.ui \
      C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\templates\forms\640x480\Dialog_with_Buttons_Right.ui \
      C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\templates\forms\480x640\Dialog_with_Buttons_Bottom.ui \
      C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\templates\forms\480x640\Dialog_with_Buttons_Right.ui
      C:\Qt_src\5.10.1\_build\msvc2017_x86_nmake\mocs\qtbase\bin\rcc.exe -name shared C:\Qt_src\5.10.1\qttools\src\designer\src\lib\shared\shared.qrc -o .rcc\debug\qrc_shared.cpp
      

      Re-opened: See my last comment. I'm willing to provide further information and details to solve the problem. Just say what you need.

      Attachments

        1. configureLogs.7z
          11 kB
        2. qtbug67758_diag.diff
          2 kB
        3. temp_ui_not_working.png
          temp_ui_not_working.png
          253 kB
        4. temp_ui_working.png
          temp_ui_working.png
          222 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            lachrymology Mike
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes