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. QT-Creator 4.9 remote development in C: How to link the runtime library for raspberry

QT-Creator 4.9 remote development in C: How to link the runtime library for raspberry

Scheduled Pinned Locked Moved Solved Installation and Deployment
8 Posts 3 Posters 637 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.
  • K-StrK Offline
    K-StrK Offline
    K-Str
    wrote on last edited by K-Str
    #1

    Hello,
    I'm going to make a simple programm to use intervall timer.
    The programm can be compiled and linked but the timer does not work.
    I saw in the internet that I have to link -lrt (=runtime library?).
    How can I do this?
    Thanks a lot in advance.
    Kurt

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

      Hi,

      If the application did compile then you don't need any additional library.

      So you likely have an error in your code.

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

      K-StrK 1 Reply Last reply
      2
      • K-StrK Offline
        K-StrK Offline
        K-Str
        wrote on last edited by
        #3

        @SGaist thanks for your answer. I will check it. What about the linker?

        jsulmJ 1 Reply Last reply
        0
        • K-StrK K-Str

          @SGaist thanks for your answer. I will check it. What about the linker?

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

          @k-str said in QT-Creator 4.9 remote development in C: How to link the runtime library for raspberry:

          What about the linker?

          What's wrong with the linker?
          Your problem is not the linker, you're doing something wrong in your code if your timer is not working...

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

          1 Reply Last reply
          2
          • K-StrK Offline
            K-StrK Offline
            K-Str
            wrote on last edited by
            #5

            @jsulm ,
            Thanks for your information.
            Kurt

            1 Reply Last reply
            0
            • SGaistS SGaist

              Hi,

              If the application did compile then you don't need any additional library.

              So you likely have an error in your code.

              K-StrK Offline
              K-StrK Offline
              K-Str
              wrote on last edited by
              #6

              @sgaist Hi I checked it today.
              There was something wrong in my code.

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

                Glad you found out !

                What was the error ?

                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
                • K-StrK Offline
                  K-StrK Offline
                  K-Str
                  wrote on last edited by K-Str
                  #8

                  @SGaist I think the problem was that I didn't do something else like while(x) (= do nothing) after starting the timer

                  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