Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for MCUs
  4. Using LIRC in Qt creator

Using LIRC in Qt creator

Scheduled Pinned Locked Moved Unsolved Qt for MCUs
12 Posts 4 Posters 715 Views
  • 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.
  • J jsulm
    27 Nov 2024, 16:52

    @markolino_it said in Using LIRC in Qt creator:

    After that i download the project, what i can do ?

    Build it.
    Is explained here: https://lirc.org/html/install.html#compile
    Then link the lirc library to your project.

    M Offline
    M Offline
    markolino_it
    wrote on 27 Nov 2024, 16:57 last edited by markolino_it
    #3

    @jsulm said in Using LIRC in Qt creator:

    @markolino_it said in Using LIRC in Qt creator:

    After that i download the project, what i can do ?

    Build it.
    Is explained here: https://lirc.org/html/install.html#compile
    Then link the lirc library to your project.

    Ok so i downloaded the package and extracted it in a folder.
    Now from shell i will go into the folder and type :

    ./configure
                make
                sudo make install
    

    Correct ?
    Thank you.

    J 1 Reply Last reply 27 Nov 2024, 17:38
    0
    • M markolino_it
      27 Nov 2024, 16:57

      @jsulm said in Using LIRC in Qt creator:

      @markolino_it said in Using LIRC in Qt creator:

      After that i download the project, what i can do ?

      Build it.
      Is explained here: https://lirc.org/html/install.html#compile
      Then link the lirc library to your project.

      Ok so i downloaded the package and extracted it in a folder.
      Now from shell i will go into the folder and type :

      ./configure
                  make
                  sudo make install
      

      Correct ?
      Thank you.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 27 Nov 2024, 17:38 last edited by
      #4

      @markolino_it Yes.

      But actually, if you're on Linux you can simply install the lirc package and its -dev package. No need to build it by yourself then.

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

      M 1 Reply Last reply 27 Nov 2024, 19:00
      0
      • J jsulm
        27 Nov 2024, 17:38

        @markolino_it Yes.

        But actually, if you're on Linux you can simply install the lirc package and its -dev package. No need to build it by yourself then.

        M Offline
        M Offline
        markolino_it
        wrote on 27 Nov 2024, 19:00 last edited by markolino_it
        #5

        @jsulm said in Using LIRC in Qt creator:

        @markolino_it Yes.

        But actually, if you're on Linux you can simply install the lirc package and its -dev package. No need to build it by yourself then.

        I'm on Raspberry pi 3 (raspbian) so I think that is necessary to build it.
        Thank you.

        J A 2 Replies Last reply 28 Nov 2024, 08:05
        0
        • M markolino_it
          27 Nov 2024, 19:00

          @jsulm said in Using LIRC in Qt creator:

          @markolino_it Yes.

          But actually, if you're on Linux you can simply install the lirc package and its -dev package. No need to build it by yourself then.

          I'm on Raspberry pi 3 (raspbian) so I think that is necessary to build it.
          Thank you.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 28 Nov 2024, 08:05 last edited by
          #6

          @markolino_it said in Using LIRC in Qt creator:

          raspbian

          I'm quite sure Raspbian (which is based on Debian) has lirc lib already, you should really check that first before building it by yourself.

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

          1 Reply Last reply
          0
          • M markolino_it
            27 Nov 2024, 19:00

            @jsulm said in Using LIRC in Qt creator:

            @markolino_it Yes.

            But actually, if you're on Linux you can simply install the lirc package and its -dev package. No need to build it by yourself then.

            I'm on Raspberry pi 3 (raspbian) so I think that is necessary to build it.
            Thank you.

            A Offline
            A Offline
            artwaw
            wrote on 28 Nov 2024, 11:16 last edited by
            #7

            @markolino_it you didn't even check, did you?

            Result of grep "Package: lirc" Packages from current stable package list:

            Package: lirc
            Package: lirc-compat-remotes
            Package: lirc-doc
            Package: lirc-drv-irman
            Package: lirc-x
            

            For more information please re-read.

            Kind Regards,
            Artur

            M 1 Reply Last reply 28 Nov 2024, 20:11
            2
            • A artwaw
              28 Nov 2024, 11:16

              @markolino_it you didn't even check, did you?

              Result of grep "Package: lirc" Packages from current stable package list:

              Package: lirc
              Package: lirc-compat-remotes
              Package: lirc-doc
              Package: lirc-drv-irman
              Package: lirc-x
              
              M Offline
              M Offline
              markolino_it
              wrote on 28 Nov 2024, 20:11 last edited by markolino_it
              #8

              @artwaw said in Using LIRC in Qt creator:

              @markolino_it you didn't even check, did you?

              Result of grep "Package: lirc" Packages from current stable package list:

              Package: lirc
              Package: lirc-compat-remotes
              Package: lirc-doc
              Package: lirc-drv-irman
              Package: lirc-x
              

              Thank you Artur. Sorry just to understand what's the meaning of that?
              If I click on this link i can download 3 files.

              http://archive.raspbian.org/raspbian/dists/stable/main/binary-armhf/

              So it is possible to link the package in qt without compile?

              I found a way to read an input from photo transistor without lircclick and i'm testing it. But i'm interesting to understand the chain in order to understand the step for use a package in qt as a library.

              At the moment i think the order is:
              1-download the package
              2-build/compile it
              3-use makefile
              4-?

              Thank you.

              S 1 Reply Last reply 28 Nov 2024, 20:16
              0
              • M markolino_it
                28 Nov 2024, 20:11

                @artwaw said in Using LIRC in Qt creator:

                @markolino_it you didn't even check, did you?

                Result of grep "Package: lirc" Packages from current stable package list:

                Package: lirc
                Package: lirc-compat-remotes
                Package: lirc-doc
                Package: lirc-drv-irman
                Package: lirc-x
                

                Thank you Artur. Sorry just to understand what's the meaning of that?
                If I click on this link i can download 3 files.

                http://archive.raspbian.org/raspbian/dists/stable/main/binary-armhf/

                So it is possible to link the package in qt without compile?

                I found a way to read an input from photo transistor without lircclick and i'm testing it. But i'm interesting to understand the chain in order to understand the step for use a package in qt as a library.

                At the moment i think the order is:
                1-download the package
                2-build/compile it
                3-use makefile
                4-?

                Thank you.

                S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 28 Nov 2024, 20:16 last edited by
                #9

                @markolino_it Hi,

                Use the package manager to install the development package for this library.

                Then you can use it as any other dependency for your project. Update the .pro file to link to the library. If the headers are installed in a standard location you might not even need to modify the INCLUDEPATH variable.

                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 28 Nov 2024, 20:24
                1
                • S SGaist
                  28 Nov 2024, 20:16

                  @markolino_it Hi,

                  Use the package manager to install the development package for this library.

                  Then you can use it as any other dependency for your project. Update the .pro file to link to the library. If the headers are installed in a standard location you might not even need to modify the INCLUDEPATH variable.

                  M Offline
                  M Offline
                  markolino_it
                  wrote on 28 Nov 2024, 20:24 last edited by
                  #10

                  @SGaist said in Using LIRC in Qt creator:

                  @markolino_it Hi,

                  Use the package manager to install the development package for this library.

                  Then you can use it as any other dependency for your project. Update the .pro file to link to the library. If the headers are installed in a standard location you might not even need to modify the INCLUDEPATH variable.

                  I don't know if in my old version of qt5 there is the package manager. I hope yes.
                  For sure i will check!
                  Thank you.

                  J 1 Reply Last reply 29 Nov 2024, 07:35
                  0
                  • M markolino_it
                    28 Nov 2024, 20:24

                    @SGaist said in Using LIRC in Qt creator:

                    @markolino_it Hi,

                    Use the package manager to install the development package for this library.

                    Then you can use it as any other dependency for your project. Update the .pro file to link to the library. If the headers are installed in a standard location you might not even need to modify the INCLUDEPATH variable.

                    I don't know if in my old version of qt5 there is the package manager. I hope yes.
                    For sure i will check!
                    Thank you.

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 29 Nov 2024, 07:35 last edited by
                    #11

                    @markolino_it said in Using LIRC in Qt creator:

                    I don't know if in my old version of qt5 there is the package manager.

                    @SGaist was talking about the packet manager of your Linux distribution!
                    Sinse Raspbian is a Debian derivate you have to use apt.
                    All you have to do is:
                    sudo apt install liblirc-dev

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

                    M 1 Reply Last reply 29 Nov 2024, 07:47
                    1
                    • J jsulm
                      29 Nov 2024, 07:35

                      @markolino_it said in Using LIRC in Qt creator:

                      I don't know if in my old version of qt5 there is the package manager.

                      @SGaist was talking about the packet manager of your Linux distribution!
                      Sinse Raspbian is a Debian derivate you have to use apt.
                      All you have to do is:
                      sudo apt install liblirc-dev

                      M Offline
                      M Offline
                      markolino_it
                      wrote on 29 Nov 2024, 07:47 last edited by
                      #12

                      @jsulm said in Using LIRC in Qt creator:

                      @markolino_it said in Using LIRC in Qt creator:

                      I don't know if in my old version of qt5 there is the package manager.

                      @SGaist was talking about the packet manager of your Linux distribution!
                      Sinse Raspbian is a Debian derivate you have to use apt.
                      All you have to do is:
                      sudo apt install liblirc-dev

                      Oh sorry, now I understand. Yes i use it a lot of course...for the other packages, sorry for that I am a noob of Linux! So I will test the Lirc-less solution and Lirc solution and I let you know.

                      Thank you.

                      1 Reply Last reply
                      0

                      12/12

                      29 Nov 2024, 07:47

                      • Login

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