Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Unsolved The SVN Path

    General and Desktop
    2
    2
    41
    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.
    • C
      Cloud.Bu last edited by

      Hi,
      Recently , I want to design a simple .exe that can be used to help a newer in out team to load the code from SVN. Now I encounter a problem :
      if I want to switch the svn path of the local existing dir(already load from the svn), I firstly have to get the svn url path of the local dir and then modify it, so I try to use the QFileDialog::getExistingDirectoryUrl() API to get the remote code path of the dir , but it doesn't work, I can only get the local one.
      So , how can I solve the problem?
      Thx
      Cloud

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by mrjj

        Hi and welcome to the forums

        Im not sure what information you are trying to get from the SVN server but
        Qt cannot really do that for you. you have to use the API.
        https://subversion.apache.org/docs/

        You could run the svn client via QProcess to make it do things on your behalf.

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