Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    QtCreator 2.7.0 not finding Perforce

    Tools
    3
    9
    3621
    Loading More Posts
    • 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
      jseideman last edited by

      In QtCreator 2.7.0: Perforce plugin has the green-check. Under Tools->Options, I filled in the Perforce Configuration and Variable fields. The test succeeds and shows the correct path. I've restarted QtCreator several times.

      Still, QtCreator shows no recognition of Perforce. Create a QTQuick 2 App..."Add to Version control:" shows <None> only.
      I've never seen any Version-control-related menu items in QtCreator.

      Is this a bug? or am I missing a setting somewhere?

      Jeff Seideman

      1 Reply Last reply Reply Quote 0
      • K
        koahnig last edited by

        welcome to devnet

        You need to activate the Perforce plugin.
        The plugins are a bit hidden under "Help">>"About Plugins..." at the end of the list you find the different version control plugins.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply Reply Quote 0
        • J
          jseideman last edited by

          What do you mean "activate"? Perforce plug-in already has the green-check and its "Load" box is checked. The plug-in dialog has no other actions available.

          Jeff Seideman

          1 Reply Last reply Reply Quote 0
          • T
            tobias.hunger last edited by

            You can unfortunately not add new projects to perforce repositories from inside Qt Creator. That is why the "Add to version control" box will never list it.

            Once you open a perforce-controlled project that will work properly.

            With most other version control systems you can also import projects directly from a repository via Files>New Project>Import Project>Whatever Checkout, but unfortunately that is not supported for perforce either.

            1 Reply Last reply Reply Quote 0
            • J
              jseideman last edited by

              Okay, that begs the next question: I have projects already IN perforce, but since when they are loaded in QtCreator there are still no Perforce menu items, that must mean there is a step to make such a project "perforce-controlled".

              How does one make one's QtCreator project "perforce-controlled"?

              Jeff Seideman

              1 Reply Last reply Reply Quote 0
              • T
                tobias.hunger last edited by

                I have to admit that it has been a long time since I last tried that, but there were no changes in the perforce code and no bug reports that it does not work anymore. Looking at the bug reports we seem to have hardly any users of perforce (or super stable integration with all features people might want;).

                Anyway: You create a project, open a terminal, do whatever you need to do to add files to perforce (sorry, don't know the actual commands on top of my head) and then open the project again in creator. Then perforce actions should become available.

                1 Reply Last reply Reply Quote 0
                • J
                  jseideman last edited by

                  Postscript: The project and files were in Perforce from the get-go...and still are.
                  In QtCreator tools: the Perforce "test" has passed from the get-go...and still does.
                  QtCreator 2.7.0 still shows no menu items nor any other sign that Perforce exists.

                  So, since there's not a lot of time to play with QtCreator, I just do all my project work in MSVC 2010, and only use QtCreator to edit the QML code.

                  Jeff Seideman

                  1 Reply Last reply Reply Quote 0
                  • T
                    tobias.hunger last edited by

                    Would you mind "filing a bug report":https://bugreports.qt-project.org/ then so that the issue is properly tracked?

                    1 Reply Last reply Reply Quote 0
                    • J
                      jseideman last edited by

                      Bug report is filed.

                      Jeff Seideman

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post