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. Qmake unable to generate project file from QtCeator...
Forum Updated to NodeBB v4.3 + New Features

Qmake unable to generate project file from QtCeator...

Scheduled Pinned Locked Moved Solved General and Desktop
15 Posts 2 Posters 1.7k Views 1 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.
  • C Offline
    C Offline
    chuckborisnorris
    wrote on last edited by
    #6

    The project has been called from /home/me/robo_ui; is this not my home directory? The output is as in the first post "failure to find... unable to generate..."

    jsulmJ 1 Reply Last reply
    0
    • C chuckborisnorris

      The project has been called from /home/me/robo_ui; is this not my home directory? The output is as in the first post "failure to find... unable to generate..."

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

      @chuckborisnorris In the first post you called qmake with -project parameter. What happens if you call qmake without -project parameter?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • C Offline
        C Offline
        chuckborisnorris
        wrote on last edited by
        #8

        In the first post I really didn't want to list every single operation I've performed...

        • qmake from /home/myuser/roboi_ui - failure to find... unable to generate makefile...
        • sudo qmake from /home/myuser/roboi_ui - no output in terminal, no makefile
        jsulmJ 1 Reply Last reply
        0
        • C chuckborisnorris

          In the first post I really didn't want to list every single operation I've performed...

          • qmake from /home/myuser/roboi_ui - failure to find... unable to generate makefile...
          • sudo qmake from /home/myuser/roboi_ui - no output in terminal, no makefile
          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #9

          @chuckborisnorris OK, lets be more clear. In /home/myuser/roboi_ui you have the pro file? And if you call qmake without -project in that directory you get "failure to find ..."?
          The thing is: if you do not provide needed information you will not get any meaningful help as others can only guess then.
          So please tell us exactly what you did and what output you got.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          C 1 Reply Last reply
          2
          • jsulmJ jsulm

            @chuckborisnorris OK, lets be more clear. In /home/myuser/roboi_ui you have the pro file? And if you call qmake without -project in that directory you get "failure to find ..."?
            The thing is: if you do not provide needed information you will not get any meaningful help as others can only guess then.
            So please tell us exactly what you did and what output you got.

            C Offline
            C Offline
            chuckborisnorris
            wrote on last edited by
            #10

            @jsulm once again, absolute noob, I am explaining what I've done to the best of my ability.

            Yes my project is in the above directory atm, is this the correct ditectory? I have tried all possible combinations of sudo, qmake, -project (explicitly: qmake, sudo qmake, qmake -project, sudo qmake -project) i have also tried all of these commands with the project folder on my desktop.

            Pretty

            C 1 Reply Last reply
            0
            • C chuckborisnorris

              @jsulm once again, absolute noob, I am explaining what I've done to the best of my ability.

              Yes my project is in the above directory atm, is this the correct ditectory? I have tried all possible combinations of sudo, qmake, -project (explicitly: qmake, sudo qmake, qmake -project, sudo qmake -project) i have also tried all of these commands with the project folder on my desktop.

              Pretty

              C Offline
              C Offline
              chuckborisnorris
              wrote on last edited by
              #11

              @chuckborisnorris posted by accident. Meant to say: pretty sure this has already been stated earlier. Let's be more clear: What other info do you need?

              jsulmJ 1 Reply Last reply
              0
              • C chuckborisnorris

                @chuckborisnorris posted by accident. Meant to say: pretty sure this has already been stated earlier. Let's be more clear: What other info do you need?

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

                @chuckborisnorris You didn't answer this question: "In /home/myuser/roboi_ui you have the pro file?".
                "is this the correct ditectory?" - it doesn't matter where you put it in your home directory, that's fine.
                Can you show what is inside /home/myuser/roboi_ui ?
                Can you then change to that directory, run qmake (without -project and without sudo) and post the output here?

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                C 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @chuckborisnorris You didn't answer this question: "In /home/myuser/roboi_ui you have the pro file?".
                  "is this the correct ditectory?" - it doesn't matter where you put it in your home directory, that's fine.
                  Can you show what is inside /home/myuser/roboi_ui ?
                  Can you then change to that directory, run qmake (without -project and without sudo) and post the output here?

                  C Offline
                  C Offline
                  chuckborisnorris
                  wrote on last edited by
                  #13

                  @jsulm the project file is in the robo_ui folder, as previously stated (admittedly by proxy)
                  I can't show you the output until I get home from work which won't be until tomorrow night. I'll do that when I can.

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    chuckborisnorris
                    wrote on last edited by
                    #14

                    I've finally got it sussed, turns out it was a Linux issue rather than a Qt issue.

                    @jsulm I see now why you were confused about the folder structure, apologies for my frustration yesterday, I thought you were just being pedantic. Sorry.

                    The makefile was created with "sudo qmake" but the terminal couldn't see it (it didn't show up with "ls" either). In the explorer, though, it did show up. Interestingly when I used the QtCreator file browser to find the makefile (for experimental purposes only) I couldn't see it either. I assume it's some sort of weird permissions thing going on so I just created a new user profile and now I can build my UI without any issues.

                    If I find out what caused all this I'll post it up but classic first post eh? ...Issue had nothing to do with the forum <Picard face-palm>.

                    jsulmJ 1 Reply Last reply
                    1
                    • C chuckborisnorris

                      I've finally got it sussed, turns out it was a Linux issue rather than a Qt issue.

                      @jsulm I see now why you were confused about the folder structure, apologies for my frustration yesterday, I thought you were just being pedantic. Sorry.

                      The makefile was created with "sudo qmake" but the terminal couldn't see it (it didn't show up with "ls" either). In the explorer, though, it did show up. Interestingly when I used the QtCreator file browser to find the makefile (for experimental purposes only) I couldn't see it either. I assume it's some sort of weird permissions thing going on so I just created a new user profile and now I can build my UI without any issues.

                      If I find out what caused all this I'll post it up but classic first post eh? ...Issue had nothing to do with the forum <Picard face-palm>.

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

                      @chuckborisnorris No problem! Such things happen :-)

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      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