Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to configure Qt with enabled udev support?
Forum Updated to NodeBB v4.3 + New Features

How to configure Qt with enabled udev support?

Scheduled Pinned Locked Moved Solved Installation and Deployment
11 Posts 3 Posters 3.1k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    Do you have the udev library development package installed ?

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

    M 1 Reply Last reply
    2
    • SGaistS SGaist

      Hi,

      Do you have the udev library development package installed ?

      M Offline
      M Offline
      MHermann
      wrote on last edited by
      #3

      @SGaist : Yes. I think I installed all important packages on my Ubuntu.

      • udev
      • libudev1
      • libudev-dev

      Ist that correct? Or is something missing?

      jsulmJ 1 Reply Last reply
      0
      • M MHermann

        @SGaist : Yes. I think I installed all important packages on my Ubuntu.

        • udev
        • libudev1
        • libudev-dev

        Ist that correct? Or is something missing?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #4

        @MHermann said in How to configure Qt with enabled udev support?:

        on my Ubuntu

        You need them in your sysroot for your target device

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

        M 1 Reply Last reply
        2
        • jsulmJ jsulm

          @MHermann said in How to configure Qt with enabled udev support?:

          on my Ubuntu

          You need them in your sysroot for your target device

          M Offline
          M Offline
          MHermann
          wrote on last edited by
          #5

          @jsulm: Okay. But I don't know how I get this in my sysroot. Do you know what I have to do?

          jsulmJ 1 Reply Last reply
          0
          • M MHermann

            @jsulm: Okay. But I don't know how I get this in my sysroot. Do you know what I have to do?

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

            @MHermann Depends on how you create the sysrott. For RPi one usually puts the SD card into RPi boots it, installs what is needed, shuts it down, puts the SD into PC card reader, mounts it (read-only is better) and uses the mount directory as sysroot.

            One tip: if you want to know why something is missing add -v parameter to configure call and check its output.

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

            M 1 Reply Last reply
            2
            • jsulmJ jsulm

              @MHermann Depends on how you create the sysrott. For RPi one usually puts the SD card into RPi boots it, installs what is needed, shuts it down, puts the SD into PC card reader, mounts it (read-only is better) and uses the mount directory as sysroot.

              One tip: if you want to know why something is missing add -v parameter to configure call and check its output.

              M Offline
              M Offline
              MHermann
              wrote on last edited by
              #7

              @jsulm : And if I have the sysroot on my harddisk? Is it also possible to add udev?
              Because I am using a VM and now I can not access the sd card in my Ubuntu...

              jsulmJ 1 Reply Last reply
              0
              • M MHermann

                @jsulm : And if I have the sysroot on my harddisk? Is it also possible to add udev?
                Because I am using a VM and now I can not access the sd card in my Ubuntu...

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #8

                @MHermann said in How to configure Qt with enabled udev support?:

                Is it also possible to add udev?

                With quite a big effort it is. You can download the needed deb packages for your target extract them and put the content in the directories they belong to.

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

                M 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @MHermann said in How to configure Qt with enabled udev support?:

                  Is it also possible to add udev?

                  With quite a big effort it is. You can download the needed deb packages for your target extract them and put the content in the directories they belong to.

                  M Offline
                  M Offline
                  MHermann
                  wrote on last edited by MHermann
                  #9

                  @jsulm : Now I tried the following:

                  1. I installed udev on my Raspi image (udev, libudev*).
                  2. I copied the Raspi image from sdcard on my computer.
                  3. I used this image as sysroot and configured the Qt.

                  => But the udev support is still disabled.

                  What I am doing wrong?

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

                    Did you re-run configure from a clean state ?

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

                    M 1 Reply Last reply
                    1
                    • SGaistS SGaist

                      Did you re-run configure from a clean state ?

                      M Offline
                      M Offline
                      MHermann
                      wrote on last edited by MHermann
                      #11

                      @SGaist : I re-run 'configure' again. But this time with the option '-recheck-all'. Now udev support is enabled.

                      1 Reply Last reply
                      1

                      • Login

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