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
Forum Updated to NodeBB v4.3 + New Features

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 670 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.
  • K Offline
    K Offline
    K-Str
    wrote on 31 Jul 2019, 15:47 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 31 Jul 2019, 19:13 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 1 Reply Last reply 5 Aug 2019, 13:28
      2
      • K Offline
        K Offline
        K-Str
        wrote on 1 Aug 2019, 12:38 last edited by
        #3

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

        J 1 Reply Last reply 1 Aug 2019, 12:42
        0
        • K K-Str
          1 Aug 2019, 12:38

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

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 1 Aug 2019, 12:42 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 Offline
            K Offline
            K-Str
            wrote on 1 Aug 2019, 13:54 last edited by
            #5

            @jsulm ,
            Thanks for your information.
            Kurt

            1 Reply Last reply
            0
            • S SGaist
              31 Jul 2019, 19:13

              Hi,

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

              So you likely have an error in your code.

              K Offline
              K Offline
              K-Str
              wrote on 5 Aug 2019, 13:28 last edited by
              #6

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

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 5 Aug 2019, 14:49 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 Offline
                  K Offline
                  K-Str
                  wrote on 6 Aug 2019, 14:47 last edited by K-Str 8 Jun 2019, 14:48
                  #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

                  1/8

                  31 Jul 2019, 15:47

                  • Login

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