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. Strange problem with a project.
Forum Updated to NodeBB v4.3 + New Features

Strange problem with a project.

Scheduled Pinned Locked Moved Solved General and Desktop
20 Posts 6 Posters 1.9k 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.
  • J jenya7

    and what about Linux? I have to deploy it on Linux machine too?

    ODБOïO Offline
    ODБOïO Offline
    ODБOï
    wrote on last edited by
    #4

    @jenya7 yes

    1 Reply Last reply
    0
    • J jenya7

      and what about Linux? I have to deploy it on Linux machine too?

      SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #5

      @jenya7 said in Strange problem with a project.:

      and what about Linux? I have to deploy it on Linux machine too?

      It depends on how you will distribute your application. If you provide a package for one or more distribution, it will use the distribution provided Qt. If you want to distribute it with a specific version of Qt then yes. You can use the linuxdeployqt to help in that case.

      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
      3
      • J Offline
        J Offline
        jenya7
        wrote on last edited by
        #6

        Thank you.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jenya7
          wrote on last edited by jenya7
          #7

          when I build a project on a Linux machine I get

          *.cpp has modification time 390886 s in the future.
          Clock skew detected. Your build may be incomplete.

          jsulmJ JKSHJ 2 Replies Last reply
          0
          • J jenya7

            when I build a project on a Linux machine I get

            *.cpp has modification time 390886 s in the future.
            Clock skew detected. Your build may be incomplete.

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

            @jenya7 Did you copy your source code to a Linux file system?
            Do you use a VCS?

            J 1 Reply Last reply
            3
            • jsulmJ jsulm

              @jenya7 Did you copy your source code to a Linux file system?
              Do you use a VCS?

              J Offline
              J Offline
              jenya7
              wrote on last edited by
              #9

              @jsulm said in Strange problem with a project.:

              @jenya7 Did you copy your source code to a Linux file system?
              Do you use a VCS?

              Actually I copy-pasted the code from Windows to Linux. What is VCS?

              jsulmJ 1 Reply Last reply
              0
              • J jenya7

                @jsulm said in Strange problem with a project.:

                @jenya7 Did you copy your source code to a Linux file system?
                Do you use a VCS?

                Actually I copy-pasted the code from Windows to Linux. What is VCS?

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

                @jenya7 said in Strange problem with a project.:

                What is VCS

                Version Control System

                J 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @jenya7 said in Strange problem with a project.:

                  What is VCS

                  Version Control System

                  J Offline
                  J Offline
                  jenya7
                  wrote on last edited by
                  #11

                  @jsulm said in Strange problem with a project.:

                  @jenya7 said in Strange problem with a project.:

                  What is VCS

                  Version Control System

                  no. I don't use it. is it related to the problem?

                  jsulmJ 1 Reply Last reply
                  0
                  • J jenya7

                    @jsulm said in Strange problem with a project.:

                    @jenya7 said in Strange problem with a project.:

                    What is VCS

                    Version Control System

                    no. I don't use it. is it related to the problem?

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

                    @jenya7 said in Strange problem with a project.:

                    is it related to the problem?

                    Not directly, but it would make sure that date/time are correct.

                    On which file system is your project located? It is a Linux file system (like ext3)?
                    And how did you copy to Linux?

                    J 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @jenya7 said in Strange problem with a project.:

                      is it related to the problem?

                      Not directly, but it would make sure that date/time are correct.

                      On which file system is your project located? It is a Linux file system (like ext3)?
                      And how did you copy to Linux?

                      J Offline
                      J Offline
                      jenya7
                      wrote on last edited by
                      #13

                      @jsulm said in Strange problem with a project.:

                      @jenya7 said in Strange problem with a project.:

                      is it related to the problem?

                      Not directly, but it would make sure that date/time are correct.

                      On which file system is your project located? It is a Linux file system (like ext3)?
                      And how did you copy to Linux?

                      It's Debian for RaspberryPi (Raspbian). I copy-paste the code to files created with QtCreator Installed on Linux.

                      1 Reply Last reply
                      0
                      • J jenya7

                        when I build a project on a Linux machine I get

                        *.cpp has modification time 390886 s in the future.
                        Clock skew detected. Your build may be incomplete.

                        JKSHJ Offline
                        JKSHJ Offline
                        JKSH
                        Moderators
                        wrote on last edited by
                        #14

                        @jenya7 said in Strange problem with a project.:

                        *.cpp has modification time 390886 s in the future.
                        Clock skew detected. Your build may be incomplete.

                        This means your Windows and Linux PCs have different times. At least one of them is wrong.

                        For the Makefile system to work correctly, all of your files must have the correct "modified date" timestamps.

                        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                        J 1 Reply Last reply
                        3
                        • JKSHJ JKSH

                          @jenya7 said in Strange problem with a project.:

                          *.cpp has modification time 390886 s in the future.
                          Clock skew detected. Your build may be incomplete.

                          This means your Windows and Linux PCs have different times. At least one of them is wrong.

                          For the Makefile system to work correctly, all of your files must have the correct "modified date" timestamps.

                          J Offline
                          J Offline
                          jenya7
                          wrote on last edited by
                          #15

                          @JKSH said in Strange problem with a project.:

                          @jenya7 said in Strange problem with a project.:

                          *.cpp has modification time 390886 s in the future.
                          Clock skew detected. Your build may be incomplete.

                          This means your Windows and Linux PCs have different times. At least one of them is wrong.

                          For the Makefile system to work correctly, all of your files must have the correct "modified date" timestamps.

                          But how do I set those timestamps?

                          V jsulmJ 2 Replies Last reply
                          0
                          • J jenya7

                            @JKSH said in Strange problem with a project.:

                            @jenya7 said in Strange problem with a project.:

                            *.cpp has modification time 390886 s in the future.
                            Clock skew detected. Your build may be incomplete.

                            This means your Windows and Linux PCs have different times. At least one of them is wrong.

                            For the Makefile system to work correctly, all of your files must have the correct "modified date" timestamps.

                            But how do I set those timestamps?

                            V Offline
                            V Offline
                            vmanso
                            wrote on last edited by
                            #16

                            @jenya7 I'm assuming the RasPi was never connected to the internet so the system time was never set properly. You can just connect your RasPi to the internet and it should auto update the system time. You should look into use github (or something else similar to it) to keep track of your code and it makes it easy to pull code onto different devices.

                            J 1 Reply Last reply
                            1
                            • J jenya7

                              @JKSH said in Strange problem with a project.:

                              @jenya7 said in Strange problem with a project.:

                              *.cpp has modification time 390886 s in the future.
                              Clock skew detected. Your build may be incomplete.

                              This means your Windows and Linux PCs have different times. At least one of them is wrong.

                              For the Makefile system to work correctly, all of your files must have the correct "modified date" timestamps.

                              But how do I set those timestamps?

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

                              @jenya7 said in Strange problem with a project.:

                              But how do I set those timestamps?

                              man touch

                              J 1 Reply Last reply
                              3
                              • V vmanso

                                @jenya7 I'm assuming the RasPi was never connected to the internet so the system time was never set properly. You can just connect your RasPi to the internet and it should auto update the system time. You should look into use github (or something else similar to it) to keep track of your code and it makes it easy to pull code onto different devices.

                                J Offline
                                J Offline
                                jenya7
                                wrote on last edited by jenya7
                                #18

                                @vmanso said in Strange problem with a project.:

                                @jenya7 I'm assuming the RasPi was never connected to the internet so the system time was never set properly. You can just connect your RasPi to the internet and it should auto update the system time. You should look into use github (or something else similar to it) to keep track of your code and it makes it easy to pull code onto different devices.

                                Indeed at some point I disconnected it from internet (was testing internal LAN). Now I connected it back but still the same warning.

                                jsulmJ 1 Reply Last reply
                                0
                                • J jenya7

                                  @vmanso said in Strange problem with a project.:

                                  @jenya7 I'm assuming the RasPi was never connected to the internet so the system time was never set properly. You can just connect your RasPi to the internet and it should auto update the system time. You should look into use github (or something else similar to it) to keep track of your code and it makes it easy to pull code onto different devices.

                                  Indeed at some point I disconnected it from internet (was testing internal LAN). Now I connected it back but still the same warning.

                                  jsulmJ Offline
                                  jsulmJ Offline
                                  jsulm
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #19
                                  This post is deleted!
                                  1 Reply Last reply
                                  0
                                  • jsulmJ jsulm

                                    @jenya7 said in Strange problem with a project.:

                                    But how do I set those timestamps?

                                    man touch

                                    J Offline
                                    J Offline
                                    jenya7
                                    wrote on last edited by
                                    #20

                                    @jsulm said in Strange problem with a project.:

                                    @jenya7 said in Strange problem with a project.:

                                    But how do I set those timestamps?

                                    man touch

                                    Thank you. It helps. Did it for every file. Now it compiles OK.

                                    1 Reply Last reply
                                    2

                                    • Login

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