Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Projects ->"New Subproject "... -> Import Project ....

Projects ->"New Subproject "... -> Import Project ....

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
6 Posts 3 Posters 1.1k Views
  • 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1

    I am trying to utilize QtCreator options to IMPORT existing project.
    Using this sequence :
    Projects ( select working "subproject " project ) ->"New Subproject "... -> Import Project -> Import Existing Project ....

    The first stumbling block is in " Import Existing Project" option description

    3f9168ae-de5f-4487-b0bb-480b994a72bf-image.png

    ... project that do not use qmake ....

    I am trying to import test project ( standard Application project ) made by Qt
    Don't all standard Qt projects use qmake ??

    Second and show stopping block is - I cannot figure out how to select the desired project from " Import Existing Project File Selection ".

    452c87c4-b6ce-4b40-aa73-17e51a0bf8d6-image.png

    After what I think is proper selection - highlight the "Import Project " in my test case - I push "next" .
    Then "Import Existing Project Project Management" appears

    f0d4de76-0641-479d-a00f-f2bfcc3bf18d-image.png

    And "files -> Add as subproject to project" is grayed out and blank.

    Obviously I did not select WHERE to add the imported project.

    Hopefully it is my wrong way of "selecting the project " in " Import Existing Project File Selection ".

    As silly as it looks - I cannot find anywhere HOW to physically select the file / project.

    aha_1980A 2 Replies Last reply
    0
    • A Anonymous_Banned275

      I am trying to utilize QtCreator options to IMPORT existing project.
      Using this sequence :
      Projects ( select working "subproject " project ) ->"New Subproject "... -> Import Project -> Import Existing Project ....

      The first stumbling block is in " Import Existing Project" option description

      3f9168ae-de5f-4487-b0bb-480b994a72bf-image.png

      ... project that do not use qmake ....

      I am trying to import test project ( standard Application project ) made by Qt
      Don't all standard Qt projects use qmake ??

      Second and show stopping block is - I cannot figure out how to select the desired project from " Import Existing Project File Selection ".

      452c87c4-b6ce-4b40-aa73-17e51a0bf8d6-image.png

      After what I think is proper selection - highlight the "Import Project " in my test case - I push "next" .
      Then "Import Existing Project Project Management" appears

      f0d4de76-0641-479d-a00f-f2bfcc3bf18d-image.png

      And "files -> Add as subproject to project" is grayed out and blank.

      Obviously I did not select WHERE to add the imported project.

      Hopefully it is my wrong way of "selecting the project " in " Import Existing Project File Selection ".

      As silly as it looks - I cannot find anywhere HOW to physically select the file / project.

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @AnneRanch

      The dialog you are using is described in https://doc.qt.io/qtcreator/creator-project-generic.html and is basically to use Qt Creator as editor for alien project types (i.e. not qmake, CMake, QBS).

      I think what you really want to do is to add an existing project as subproject?

      That is described in https://doc.qt.io/qtcreator/creator-project-creating.html#adding-subprojects-to-projects

      Regards

      Qt has to stay free or it will die.

      A 1 Reply Last reply
      2
      • A Anonymous_Banned275

        I am trying to utilize QtCreator options to IMPORT existing project.
        Using this sequence :
        Projects ( select working "subproject " project ) ->"New Subproject "... -> Import Project -> Import Existing Project ....

        The first stumbling block is in " Import Existing Project" option description

        3f9168ae-de5f-4487-b0bb-480b994a72bf-image.png

        ... project that do not use qmake ....

        I am trying to import test project ( standard Application project ) made by Qt
        Don't all standard Qt projects use qmake ??

        Second and show stopping block is - I cannot figure out how to select the desired project from " Import Existing Project File Selection ".

        452c87c4-b6ce-4b40-aa73-17e51a0bf8d6-image.png

        After what I think is proper selection - highlight the "Import Project " in my test case - I push "next" .
        Then "Import Existing Project Project Management" appears

        f0d4de76-0641-479d-a00f-f2bfcc3bf18d-image.png

        And "files -> Add as subproject to project" is grayed out and blank.

        Obviously I did not select WHERE to add the imported project.

        Hopefully it is my wrong way of "selecting the project " in " Import Existing Project File Selection ".

        As silly as it looks - I cannot find anywhere HOW to physically select the file / project.

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by aha_1980
        #3

        @AnneRanch Btw, which version of QtCreator is that?

        My version (4.14.0) does not even provide the option to import an subproject.

        Qt has to stay free or it will die.

        JonBJ 1 Reply Last reply
        0
        • aha_1980A aha_1980

          @AnneRanch Btw, which version of QtCreator is that?

          My version (4.14.0) does not even provide the option to import an subproject.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #4

          @aha_1980
          In a previous thread we discovered the OP is using Creator 3.x from 2015, but does not wish to upgrade despite its shortcomings/our suggestions....

          aha_1980A 1 Reply Last reply
          2
          • JonBJ JonB

            @aha_1980
            In a previous thread we discovered the OP is using Creator 3.x from 2015, but does not wish to upgrade despite its shortcomings/our suggestions....

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Thanks @JonB.

            I think in this case both this thread as well as the bugreport QTCREATORBUG-25282 are invalid now.

            Qt has to stay free or it will die.

            1 Reply Last reply
            0
            • aha_1980A aha_1980

              @AnneRanch

              The dialog you are using is described in https://doc.qt.io/qtcreator/creator-project-generic.html and is basically to use Qt Creator as editor for alien project types (i.e. not qmake, CMake, QBS).

              I think what you really want to do is to add an existing project as subproject?

              That is described in https://doc.qt.io/qtcreator/creator-project-creating.html#adding-subprojects-to-projects

              Regards

              A Offline
              A Offline
              Anonymous_Banned275
              wrote on last edited by Anonymous_Banned275
              #6

              @aha_1980 Irregardless what version I am using - this reference does not show "Add existing project(s) " option.

              e2b20b3c-661d-48f6-adb2-11fa0de2bef2-image.png

              Which brings back my original comment about "importing project " note about non qmake project. If that is the case - Qt IDE could be more user friendly and let me know I cannot do that.

              Actually - from user point of view - both adding subproject and adding existing project should be an non-version dependent issue. Both options shlud be introduced SAME time. Something about QA comes to mind.

              Thanks for contributing to the solution, appreciate that.

              ADDENDUM

              After more experiments I have better grasp on how qmake and .pro files interact when project with sub projects is implemented.

              I have installed latest version of Qt, now I am stuck with changing the original version qmake to new one.
              Hopefully when that is done I will see "Add Existing Project" option.

              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