Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. After adding a new resource asset (.mp4) won't compile properly: "The kit Desktop has configuration issues which might be the root cause for this problem"
Forum Updated to NodeBB v4.3 + New Features

After adding a new resource asset (.mp4) won't compile properly: "The kit Desktop has configuration issues which might be the root cause for this problem"

Scheduled Pinned Locked Moved Solved QML and Qt Quick
5 Posts 3 Posters 369 Views 1 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.
  • H Offline
    H Offline
    HFL99
    wrote on last edited by
    #1

    I have a Qt Quick program that takes in local video files (.avi and .mp4) and play when chosen and clicked Play.

    Currently I hardcoded 9 of them and I have 3 .avi video files for 3 out of 9 videos I want aside from some other .svg image assets and this compile & run without further issues aside from random crashes upon startup a few times that resolve itself after I run it again the 3rd or 4th time.

    The problem begins when I add in a 4th media video file into the designated resource folder (.mp4 or .avi), and I'd get this error every time no matter what .mp4 or .avi different file I tried after Clean, QMake, and Build:
    438e6faf-ff19-44f4-9989-97b48e0eea50-image.png
    610fc34c-b9bc-4cef-929e-57d870268ea0-image.png

    The program would still run after this error but just won't load the video when I click play and instead load another video from another index that I did not assign to it.

    I tried googling about this but the first page didn't show a lot of promising results and mostly other unrelated errors.

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

      Hi and welcome to devnet,

      How big are these files ? You might be hitting limits depending on that. See here for large files.

      You might want to consider building your resources separately as described here.

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

      H 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi and welcome to devnet,

        How big are these files ? You might be hitting limits depending on that. See here for large files.

        You might want to consider building your resources separately as described here.

        H Offline
        H Offline
        HFL99
        wrote on last edited by
        #3

        @SGaist Thank you, I'll try that. Right now I am just inserting placeholder videos that are between 10 - 35 MBs.

        SGaistS 1 Reply Last reply
        0
        • H HFL99

          @SGaist Thank you, I'll try that. Right now I am just inserting placeholder videos that are between 10 - 35 MBs.

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @HFL99 it means that you are trying to build a file that is weighing several hundreds of megabytes.

          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
          1
          • H HFL99

            I have a Qt Quick program that takes in local video files (.avi and .mp4) and play when chosen and clicked Play.

            Currently I hardcoded 9 of them and I have 3 .avi video files for 3 out of 9 videos I want aside from some other .svg image assets and this compile & run without further issues aside from random crashes upon startup a few times that resolve itself after I run it again the 3rd or 4th time.

            The problem begins when I add in a 4th media video file into the designated resource folder (.mp4 or .avi), and I'd get this error every time no matter what .mp4 or .avi different file I tried after Clean, QMake, and Build:
            438e6faf-ff19-44f4-9989-97b48e0eea50-image.png
            610fc34c-b9bc-4cef-929e-57d870268ea0-image.png

            The program would still run after this error but just won't load the video when I click play and instead load another video from another index that I did not assign to it.

            I tried googling about this but the first page didn't show a lot of promising results and mostly other unrelated errors.

            Ronel_qtmasterR Offline
            Ronel_qtmasterR Offline
            Ronel_qtmaster
            wrote on last edited by
            #5

            @HFL99 because you added big files to the ressource file

            1 Reply Last reply
            1
            • H HFL99 has marked this topic as solved on

            • Login

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