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. perl needs to be available to build qt
Qt 6.11 is out! See what's new in the release blog

perl needs to be available to build qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 5 Posters 910 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.
  • I Offline
    I Offline
    inusion
    wrote on last edited by
    #1

    https://github.com/qt/qtserialbus

    I was running the serialbus example.

    An error "perl needs to be available to build qt" appeared, so I downloaded perl and confirmed that the installation was completed with perl -v in cmd.

    But the error doesn't go away.

    Is there any way to solve it?

    jsulmJ C 2 Replies Last reply
    0
    • I inusion

      https://github.com/qt/qtserialbus

      I was running the serialbus example.

      An error "perl needs to be available to build qt" appeared, so I downloaded perl and confirmed that the installation was completed with perl -v in cmd.

      But the error doesn't go away.

      Is there any way to solve it?

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @inusion On which OS? How exactly do you build qtserialbus? Did you start from scratch (delete build folder and build again) after installing Perl?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

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

        Hi,

        In addition to @jsulm, did you clone the repository or downloaded the zip file ?

        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
        • I inusion

          https://github.com/qt/qtserialbus

          I was running the serialbus example.

          An error "perl needs to be available to build qt" appeared, so I downloaded perl and confirmed that the installation was completed with perl -v in cmd.

          But the error doesn't go away.

          Is there any way to solve it?

          C Offline
          C Offline
          ChrisW67
          wrote on last edited by
          #4

          @inusion How is running an example with Qt connected to building Qt from source?

          1 Reply Last reply
          0
          • jsulmJ jsulm

            @inusion On which OS? How exactly do you build qtserialbus? Did you start from scratch (delete build folder and build again) after installing Perl?

            I Offline
            I Offline
            inusion
            wrote on last edited by
            #5

            @jsulm
            I am running on windows and installed strawberry perl. I cloned the git repository and ran cmake in the root.
            and got an error

            jsulmJ B 2 Replies Last reply
            0
            • I inusion

              @jsulm
              I am running on windows and installed strawberry perl. I cloned the git repository and ran cmake in the root.
              and got an error

              jsulmJ Online
              jsulmJ Online
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @inusion "Did you start from scratch (delete build folder and build again) after installing Perl?"

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              I 1 Reply Last reply
              0
              • jsulmJ jsulm

                @inusion "Did you start from scratch (delete build folder and build again) after installing Perl?"

                I Offline
                I Offline
                inusion
                wrote on last edited by
                #7

                @jsulm
                yes

                1 Reply Last reply
                0
                • I inusion

                  @jsulm
                  I am running on windows and installed strawberry perl. I cloned the git repository and ran cmake in the root.
                  and got an error

                  B Offline
                  B Offline
                  Bonnie
                  wrote on last edited by Bonnie
                  #8

                  @inusion Wouldn't running cmake in the root just build the whole module from source?
                  I think you should run cmake in the examples folder or in examples/serialbus.
                  Correction:
                  I think you should run cmake in the example project folder, that is, e.g., qtserialbus/examples/serialbus/can or qtserialbus/examples/serialbus/modbus/client

                  I jsulmJ 2 Replies Last reply
                  0
                  • B Bonnie

                    @inusion Wouldn't running cmake in the root just build the whole module from source?
                    I think you should run cmake in the examples folder or in examples/serialbus.
                    Correction:
                    I think you should run cmake in the example project folder, that is, e.g., qtserialbus/examples/serialbus/can or qtserialbus/examples/serialbus/modbus/client

                    I Offline
                    I Offline
                    inusion
                    wrote on last edited by
                    #9

                    @Bonnie
                    When I run cmake from root, I get the same error as the title.

                    1 Reply Last reply
                    0
                    • B Bonnie

                      @inusion Wouldn't running cmake in the root just build the whole module from source?
                      I think you should run cmake in the examples folder or in examples/serialbus.
                      Correction:
                      I think you should run cmake in the example project folder, that is, e.g., qtserialbus/examples/serialbus/can or qtserialbus/examples/serialbus/modbus/client

                      jsulmJ Online
                      jsulmJ Online
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by jsulm
                      #10

                      @inusion

                      I think you should run cmake in the examples folder or in examples/serialbus

                      Please read this part again.

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      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