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. Build 6.8.1 from source. FAILED: src/gui/.qt/rcc/qrc_qpdf.cpp
Forum Updated to NodeBB v4.3 + New Features

Build 6.8.1 from source. FAILED: src/gui/.qt/rcc/qrc_qpdf.cpp

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 380 Views 2 Watching
  • 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.
  • B Offline
    B Offline
    b0b0b0b
    wrote on last edited by
    #1

    I try to build Qt 6.8.1 from source on Windows 10 and I follow this page
    No matter which version Qt I choose (6.3.0 or 6.5.2) I run into this problem:

    C:\Qt\681\built>..\configure
    ...
    C:\Qt\681\built>cmake --build . --parallel
    
    [759/1882] Running rcc for resource qpdf
    
    FAILED: src/gui/.qt/rcc/qrc_qpdf.cpp
    C:/Qt/681/built/src/gui/.qt/rcc/qrc_qpdf.cpp
    C:\Windows\system32\cmd.exe /C "cd /D C:\Qt\681\built\src\gui && 
    C:\Qt\681\built\bin\rcc.exe --output C:/Qt/681/built/src/gui/.qt/rcc/qrc_qpdf.cpp --name qpdf 
    C:/Qt/681/built/src/gui/.qt/rcc/qpdf.qrc --no-zstd"
    
    ninja: build stopped: subcommand failed.
    

    I need qtgui and I can't simply -skip that, -skip qpdf didn't work also. I can't find any mention about this kind of problem. What's wrong with this qpdf?
    Thank you!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      How did you get sources ?
      Which compiler are you using ?
      What exact procedure did you apply ?
      The gui module is not skippable. It's part of qtbase.
      That qtpdf cannot be skipped is surprising on the other hand.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • B Offline
        B Offline
        b0b0b0b
        wrote on last edited by
        #3

        I downloaded it from github in a release section as zip file. I'm using MSVC2019.
        I tried that:

        vcvarsall.bat x86_amd64
        mkdir built
        cd built
        ..\configure
        cmake --build . --parallel
        

        I tried -skip qpdf option, but it told me something like "Command line option -skip is only effective in top-level builds". Even if I skip qpdf, I don't think the problem is related to this. I ran it again and got this:

        c:\Qt\681\built>cmake --build .
        
        [694/1882] Running rcc for resource qpdf
        
        FAILED: src/gui/.qt/rcc/qrc_qpdf.cpp 
        C:/Qt/681/built/src/gui/.qt/rcc/qrc_qpdf.cpp
        C:\Windows\system32\cmd.exe /C "cd /D 
        C:\Qt\681\built\src\gui &&
        C:\Qt\681\built\bin\rcc.exe --output 
        C:/Qt/681/built/src/gui/.qt/rcc/qrc_qpdf.cpp --name qpdf 
        C:/Qt/681/built/src/gui/.qt/rcc/qpdf.qrc --no-zstd"
        
        FAILED: src/gui/.qt/rcc/qrc_gui_shaders.cpp 
        C:/Qt/681/built/src/gui/.qt/rcc/qrc_gui_shaders.cpp
        C:\Windows\system32\cmd.exe /C "cd /D 
        C:\Qt\681\built\src\gui && 
        C:\Qt\681\built\bin\rcc.exe --output 
        C:/Qt/681/built/src/gui/.qt/rcc/qrc_gui_shaders.cpp --name gui_shaders 
        C:/Qt/681/built/src/gui/.qt/rcc/gui_shaders.qrc --no-zstd"
        
        ninja: build stopped: subcommand failed.
        
        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          What exactly did you download ? "Some zip file somewhere on GitHub" does not telle what you got.

          Based on the error message you don't have the full sources. If you want them you better download them from the official archives.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          B 1 Reply Last reply
          0
          • SGaistS SGaist

            What exactly did you download ? "Some zip file somewhere on GitHub" does not telle what you got.

            Based on the error message you don't have the full sources. If you want them you better download them from the official archives.

            B Offline
            B Offline
            b0b0b0b
            wrote on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0

            • Login

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