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. Problem in Deploying and Running Application on Ubuntu.
Forum Updated to NodeBB v4.3 + New Features

Problem in Deploying and Running Application on Ubuntu.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
32 Posts 3 Posters 8.1k 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.
  • G Offline
    G Offline
    Girishkuniyal
    wrote on last edited by
    #20

    Now The Output is http://paste.ubuntu.com/23202369/

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by p3c0
      #21

      Something is wrong. It should have printed all the open calls on the terminal like it printed as seen in the last screenshot that you posted. Can you check again whats wrong?

      157

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Girishkuniyal
        wrote on last edited by
        #22

        are you know . I am running all this in my virtual machine different from development machine? @p3c0

        1 Reply Last reply
        0
        • p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #23

          @Girishkuniyal It doesn't matter if your deployment machine is a virtual machine or a physical machine as long as the application requirements are satisfied.

          157

          1 Reply Last reply
          0
          • G Offline
            G Offline
            Girishkuniyal
            wrote on last edited by
            #24

            Now what to do ? where is the problem ? @p3c0
            Please help me to deploy this app.

            1 Reply Last reply
            0
            • p3c0P Offline
              p3c0P Offline
              p3c0
              Moderators
              wrote on last edited by
              #25

              @Girishkuniyal Did you replace all hardcoded paths with paths present on deployment system and test ?

              157

              1 Reply Last reply
              0
              • G Offline
                G Offline
                Girishkuniyal
                wrote on last edited by Girishkuniyal
                #26

                I gave path relative to binary . @p3c0 I updated github repo after alter the code

                1 Reply Last reply
                0
                • p3c0P Offline
                  p3c0P Offline
                  p3c0
                  Moderators
                  wrote on last edited by
                  #27

                  @Girishkuniyal so is it still the same error ? Did you try strace from outside ?

                  157

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    Girishkuniyal
                    wrote on last edited by Girishkuniyal
                    #28

                    I updated my git repo after code changed @p3c0 I used after export inside bash script

                    1 Reply Last reply
                    0
                    • p3c0P Offline
                      p3c0P Offline
                      p3c0
                      Moderators
                      wrote on last edited by
                      #29

                      Sorry @Girishkuniyal unfortunately I cant go through your whole code. You should somehow find a way to get output from strace. Please go through the steps I posted earlier. Post the strace output for that binary with Qt librarys all set.

                      157

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        Girishkuniyal
                        wrote on last edited by
                        #30

                        I get same output . I cant find any error. @p3c0

                        1 Reply Last reply
                        0
                        • G Offline
                          G Offline
                          Girishkuniyal
                          wrote on last edited by
                          #31

                          @p3c0 above Problem is solved.
                          I first runing ldd libqxcb.so and copy all dependencies on Qt_Libraries folder.
                          then In script I added
                          export QT_QPA_PLATFORM_PLUGIN_PATH=$PWD/Qt_Libraries
                          and application starts running. :)

                          1 Reply Last reply
                          0
                          • G Offline
                            G Offline
                            Girishkuniyal
                            wrote on last edited by
                            #32

                            But Now the total size of application folded become 64 Mb just for a very small application how can i reduced that size ??? @p3c0

                            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