Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. how to apply patch the compiler
Forum Updated to NodeBB v4.3 + New Features

how to apply patch the compiler

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
6 Posts 3 Posters 1.5k 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.
  • Dante LeonciniD Offline
    Dante LeonciniD Offline
    Dante Leoncini
    wrote on last edited by
    #1

    (translated with google)

    I'm trying to apply a patch but can not find anything that works .
    This is the patch https://bugreports.qt.io/browse/QTBUG-20964

    the file is a txt "diff.txt" I do not understand how to use a patch in txt format

    you have to convert it to "patch "?
    You can also apply this ?
    try using GnuWin32

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You don't need to convert anything. Just call git apply diff.txt in the repo directory.

      1 Reply Last reply
      1
      • Dante LeonciniD Offline
        Dante LeonciniD Offline
        Dante Leoncini
        wrote on last edited by
        #3

        $ git apply diff.txt
        error: patch failed: features/qt3d.prf:17
        error: features/qt3d.prf: patch does not apply
        error: patch failed: features/qt3dquick.prf:20
        error: features/qt3dquick.prf: patch does not apply
        error: patch failed: src/imports/shapes/shapes.pro:24
        error: src/imports/shapes/shapes.pro: patch does not apply
        error: patch failed: src/imports/threed/threed.pro:23
        error: src/imports/threed/threed.pro: patch does not apply
        error: patch failed: src/plugins/sceneformats/assimp/assimp.pro:41
        error: src/plugins/sceneformats/assimp/assimp.pro: patch does not apply
        error: patch failed: src/plugins/sceneformats/bezier/bezier.pro:22
        error: src/plugins/sceneformats/bezier/bezier.pro: patch does not apply
        error: patch failed: src/quick3d/quick3d.pro:59
        error: src/quick3d/quick3d.pro: patch does not apply

        not because failure patch . place it in the root directory of the project. The repository download it zipped and unzipped format.

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

          Hi,

          Might be a silly question but… Against which version of Qt3D are you trying to apply the patch ?

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

          Dante LeonciniD 1 Reply Last reply
          0
          • SGaistS SGaist

            Hi,

            Might be a silly question but… Against which version of Qt3D are you trying to apply the patch ?

            Dante LeonciniD Offline
            Dante LeonciniD Offline
            Dante Leoncini
            wrote on last edited by
            #5

            @SGaist not the version number . I guess it's the first that came to Qt 4.8. It works well on Linux and Windows but fails to compile for symbian and I'm sure it is for this bug https://bugreports.qt.io/browse/QTBUG-20964

            1 Reply Last reply
            0
            • Dante LeonciniD Offline
              Dante LeonciniD Offline
              Dante Leoncini
              wrote on last edited by
              #6

              The patch came and applied. try to apply it manually and it seems that that fails.

              I do not understand why still fails to compile if the patch applied . but since that's another topic

              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