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. Unable to open a qt project made earlier on other system (raspberry pi)

Unable to open a qt project made earlier on other system (raspberry pi)

Scheduled Pinned Locked Moved Solved General and Desktop
14 Posts 6 Posters 3.3k Views 4 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.
  • Pradeep KumarP Offline
    Pradeep KumarP Offline
    Pradeep Kumar
    wrote on last edited by Pradeep Kumar
    #3

    @sush

    Their is the post by @Wieland , about how to upload image on the forum
    Below link is the guide by @Wieland .

    https://forum.qt.io/topic/62615/how-to-insert-image-on-this-forum

    U can use the link to upload the images and provide the link to the forum for users to understand the query.
    https://postimg.cc/

    http://imgur.com/upload

    Thanks,

    Pradeep Kumar
    Qt,QML Developer

    1 Reply Last reply
    4
    • S Offline
      S Offline
      sush
      wrote on last edited by
      #4

      Sorry, Here are the new set of images along with the error logs.

      http://imgur.com/a/6nWce

      Thanks,

      mrjjM 1 Reply Last reply
      1
      • S sush

        Sorry, Here are the new set of images along with the error logs.

        http://imgur.com/a/6nWce

        Thanks,

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #5

        @sush
        Hi
        You should try delete any .USER file ( or move them away)
        Then open and configure the project for the compiler.

        Error seems to be for ui mainwindow.h which is generated.

        S 1 Reply Last reply
        4
        • Vinod KuntojiV Offline
          Vinod KuntojiV Offline
          Vinod Kuntoji
          wrote on last edited by
          #6

          delete user file and build folder. clean, qmake, rebuild the project, I hope it will run.

          C++, Qt, Qt Quick Developer,
          PthinkS, Bangalore

          1 Reply Last reply
          4
          • mrjjM mrjj

            @sush
            Hi
            You should try delete any .USER file ( or move them away)
            Then open and configure the project for the compiler.

            Error seems to be for ui mainwindow.h which is generated.

            S Offline
            S Offline
            sush
            wrote on last edited by sush
            #7

            @mrjj
            Hi, Thanks for the help it worked. Even though now I am getting a makefile error.

            [Makefile] Error 2
            
            mrjjM 1 Reply Last reply
            1
            • S sush

              @mrjj
              Hi, Thanks for the help it worked. Even though now I am getting a makefile error.

              [Makefile] Error 2
              
              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #8

              @sush said in Unable to open a qt project made earlier on other system (raspberry pi):

              [Makefile] Error 2

              Can you post what in the compiler output tab?
              The code is not enough on its own.
              Could be something with the pro file or something it cant build.

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

                Hi,

                How "old" is that project ?

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

                S 1 Reply Last reply
                2
                • SGaistS SGaist

                  Hi,

                  How "old" is that project ?

                  S Offline
                  S Offline
                  sush
                  wrote on last edited by
                  #10

                  @SGaist

                  Hi, The project is only 4 months old.

                  I have been using the same QT version with same environment setups still not working out.

                  Thanks,

                  1 Reply Last reply
                  0
                  • mrjjM mrjj

                    @sush said in Unable to open a qt project made earlier on other system (raspberry pi):

                    [Makefile] Error 2

                    Can you post what in the compiler output tab?
                    The code is not enough on its own.
                    Could be something with the pro file or something it cant build.

                    S Offline
                    S Offline
                    sush
                    wrote on last edited by
                    #11

                    @mrjj

                    Here is the compiler output tab

                    06:35:41: Running steps for project etco2...
                    06:35:41: Configuration unchanged, skipping qmake step.
                    06:35:41: Starting: "/usr/bin/make" 
                    /usr/lib/arm-linux-gnueabihf/qt4/bin/qmake -spec /usr/share/qt4/mkspecs/linux-g++ CONFIG+=debug -o Makefile ../etco2(03-04)/etco2.pro
                    Makefile:147: recipe for target 'Makefile' failed
                    /bin/sh: 1: Syntax error: "(" unexpected
                    make: *** [Makefile] Error 2
                    06:35:41: The process "/usr/bin/make" exited with code 2.
                    Error while building/deploying project etco2 (kit: Desktop)
                    When executing step "Make"
                    06:35:41: Elapsed time: 00:00.
                    

                    Here is my .pro file

                    #-------------------------------------------------
                    #
                    # Project created by QtCreator 2017-01-25T04:50:47
                    #
                    #-------------------------------------------------
                    
                    QT       += core gui
                    #QT += opengl
                    CONFIG += serialport
                    #DEFINES += QCUSTOMPLOT_USE_OPENGL
                    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
                    
                    TARGET = etco2
                    TEMPLATE = app
                    
                    
                    SOURCES += main.cpp\
                            mainwindow.cpp \
                        ../QCustomPlot/qcustomplot/qcustomplot.cpp \
                        alarmdialog.cpp
                    
                    HEADERS  += mainwindow.h \
                        ../QCustomPlot/qcustomplot/qcustomplot.h \
                        alarmdialog.h
                    
                    FORMS    += mainwindow.ui \
                        alarmdialog.ui
                    
                    
                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #12

                      Can you build it from the command line ?

                      What is on line 147 of that Makefile ?

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

                      S 1 Reply Last reply
                      1
                      • SGaistS SGaist

                        Can you build it from the command line ?

                        What is on line 147 of that Makefile ?

                        S Offline
                        S Offline
                        sush
                        wrote on last edited by
                        #13
                        This post is deleted!
                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          sush
                          wrote on last edited by
                          #14

                          Thanks to all of you, I got my previous project running finally.

                          There was some problem with the project name and I deleted the .USER file from the project also.

                          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