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.8k 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 Offline
    J Offline
    jenya7
    wrote on 4 Dec 2019, 07:54 last edited by aha_1980 12 Apr 2019, 09:06
    #1

    Suddenly, when I run an executable from a build/debug/ folder I get an exception
    The program can't start because Qt5Cored.dll is missing from your computer. Try reinstalling the program to fix this problem.
    But when I run from Qt Creator it runs OK, no problem.

    O 1 Reply Last reply 4 Dec 2019, 08:04
    0
    • J jenya7
      4 Dec 2019, 07:54

      Suddenly, when I run an executable from a build/debug/ folder I get an exception
      The program can't start because Qt5Cored.dll is missing from your computer. Try reinstalling the program to fix this problem.
      But when I run from Qt Creator it runs OK, no problem.

      O Offline
      O Offline
      ODБOï
      wrote on 4 Dec 2019, 08:04 last edited by ODБOï 12 Apr 2019, 08:04
      #2

      @jenya7 hi
      that is normal,
      to be able to run your program from its executable you have to deploy it.
      see for windows https://doc.qt.io/qt-5/windows-deployment.html

      1 Reply Last reply
      3
      • J Offline
        J Offline
        jenya7
        wrote on 4 Dec 2019, 08:33 last edited by
        #3

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

        O S 2 Replies Last reply 4 Dec 2019, 08:43
        0
        • J jenya7
          4 Dec 2019, 08:33

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

          O Offline
          O Offline
          ODБOï
          wrote on 4 Dec 2019, 08:43 last edited by
          #4

          @jenya7 yes

          1 Reply Last reply
          0
          • J jenya7
            4 Dec 2019, 08:33

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

            S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 4 Dec 2019, 09:09 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 4 Dec 2019, 09:14 last edited by
              #6

              Thank you.

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jenya7
                wrote on 4 Dec 2019, 10:03 last edited by jenya7 12 Apr 2019, 10:04
                #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.

                J J 2 Replies Last reply 4 Dec 2019, 12:44
                0
                • J jenya7
                  4 Dec 2019, 10:03

                  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.

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 4 Dec 2019, 12:44 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 4 Dec 2019, 12:53
                  3
                  • J jsulm
                    4 Dec 2019, 12:44

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

                    J Offline
                    J Offline
                    jenya7
                    wrote on 4 Dec 2019, 12:53 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?

                    J 1 Reply Last reply 4 Dec 2019, 13:03
                    0
                    • J jenya7
                      4 Dec 2019, 12:53

                      @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?

                      J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 4 Dec 2019, 13:03 last edited by
                      #10

                      @jenya7 said in Strange problem with a project.:

                      What is VCS

                      Version Control System

                      J 1 Reply Last reply 4 Dec 2019, 13:19
                      0
                      • J jsulm
                        4 Dec 2019, 13:03

                        @jenya7 said in Strange problem with a project.:

                        What is VCS

                        Version Control System

                        J Offline
                        J Offline
                        jenya7
                        wrote on 4 Dec 2019, 13:19 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?

                        J 1 Reply Last reply 4 Dec 2019, 13:27
                        0
                        • J jenya7
                          4 Dec 2019, 13:19

                          @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?

                          J Offline
                          J Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on 4 Dec 2019, 13:27 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 4 Dec 2019, 13:41
                          0
                          • J jsulm
                            4 Dec 2019, 13:27

                            @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 4 Dec 2019, 13:41 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
                              4 Dec 2019, 10:03

                              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.

                              J Offline
                              J Offline
                              JKSH
                              Moderators
                              wrote on 4 Dec 2019, 14:00 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 4 Dec 2019, 15:36
                              3
                              • J JKSH
                                4 Dec 2019, 14:00

                                @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 4 Dec 2019, 15:36 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 J 2 Replies Last reply 4 Dec 2019, 15:50
                                0
                                • J jenya7
                                  4 Dec 2019, 15:36

                                  @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 4 Dec 2019, 15:50 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 5 Dec 2019, 06:29
                                  1
                                  • J jenya7
                                    4 Dec 2019, 15:36

                                    @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?

                                    J Offline
                                    J Offline
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on 5 Dec 2019, 06:14 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 5 Dec 2019, 06:52
                                    3
                                    • V vmanso
                                      4 Dec 2019, 15:50

                                      @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 5 Dec 2019, 06:29 last edited by jenya7 12 Aug 2019, 06:53
                                      #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.

                                      J 1 Reply Last reply 5 Dec 2019, 06:52
                                      0
                                      • J jenya7
                                        5 Dec 2019, 06:29

                                        @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.

                                        J Offline
                                        J Offline
                                        jsulm
                                        Lifetime Qt Champion
                                        wrote on 5 Dec 2019, 06:52 last edited by
                                        #19
                                        This post is deleted!
                                        1 Reply Last reply
                                        0
                                        • J jsulm
                                          5 Dec 2019, 06:14

                                          @jenya7 said in Strange problem with a project.:

                                          But how do I set those timestamps?

                                          man touch

                                          J Offline
                                          J Offline
                                          jenya7
                                          wrote on 5 Dec 2019, 06:52 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

                                          1/20

                                          4 Dec 2019, 07:54

                                          • Login

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