Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. Once you create a project via Qt Creator, how do you run it outside of Creator
Forum Updated to NodeBB v4.3 + New Features

Once you create a project via Qt Creator, how do you run it outside of Creator

Scheduled Pinned Locked Moved Unsolved C++ Gurus
7 Posts 3 Posters 3.7k Views 2 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.
  • M Offline
    M Offline
    Mike456
    wrote on last edited by Mike456
    #1

    I'm still learning the basics of Qt Creator via videos. I'd like to get a jump-start and find out how to run a project that I've created with Creator outside of Creator? What are the steps to do this? What is the final executable called? How many files will be involved with the final executable? How many files do I have to protect to keep the final product? Can I edit any of these files, and if so how can I edit them?

    Can this be done in more than one way?

    What are the options in doing this? I.E.: Do I have ways to tweek the final project during the deployment?

    Is one technique more reliable than others? Which way of doing this is better?

    Can you give me detailed information on this topic? What are the steps to accomplish this?

    Thank you,

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

      Hi,

      That's a question that has been asked many time already. You have to follow the deployment guide in Qt's documentation for the platform you are targeting. There are helper tools existing for macOS and Windows provided by Qt and an independent one for Linux.

      So please start by giving more information like the version of Qt you are using, the platform you are going to deploy on, the compiler you are using etc.

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

      M 1 Reply Last reply
      4
      • SGaistS SGaist

        Hi,

        That's a question that has been asked many time already. You have to follow the deployment guide in Qt's documentation for the platform you are targeting. There are helper tools existing for macOS and Windows provided by Qt and an independent one for Linux.

        So please start by giving more information like the version of Qt you are using, the platform you are going to deploy on, the compiler you are using etc.

        M Offline
        M Offline
        Mike456
        wrote on last edited by Mike456
        #3

        @SGaist I'm very anxious to get started and can't wait. I don't have the specifics yet. I'm told the platform will definitively be on a Linux computer with probably Qt 4 using C++!

        What do I do?

        Thanks,

        JKSHJ 1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Qt 4 ? You know that you shouldn't use that for new project as it has reached end of life ?

          In any case, better have some more information about your project otherwise it's only going to be speculations.

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

          M 1 Reply Last reply
          2
          • M Mike456

            @SGaist I'm very anxious to get started and can't wait. I don't have the specifics yet. I'm told the platform will definitively be on a Linux computer with probably Qt 4 using C++!

            What do I do?

            Thanks,

            JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by JKSH
            #5

            @Mike456 said in Once you create a project via Qt Creator, how do you run it outside of Creator:

            I'm still learning the basics of Qt Creator via videos.

            Welcome!

            I'd like to get a jump-start and find out how to run a project that I've created with Creator outside of Creator?

            The process of running a program outside of Qt Creator is called "Deployment". Use this keyword; search this forum and the Qt documentation for information about "Deployment".

            Here's a page to get jump-start your journey: http://doc.qt.io/qt-5/deployment.html

            What are the steps to do this? What is the final executable called? How many files will be involved with the final executable? How many files do I have to protect to keep the final product? Can I edit any of these files, and if so how can I edit them?

            Can this be done in more than one way?

            What are the options in doing this? I.E.: Do I have ways to tweek the final project during the deployment?

            Is one technique more reliable than others? Which way of doing this is better?

            Can you give me detailed information on this topic? What are the steps to accomplish this?

            Please understand that we can't give you a list/recipe, especially when you can't give us any concrete details about your project. At this point, the only thing I'll say is this: Yes, there is more than one way to do deployment, and each have their own pros and cons. Different developers prefer different ways. What's "better" depends on your priorities.

            The best way to learn is to try it yourself. Read the link I gave you, research, and try to deploy a simple toy application. If you get stuck, come back with specific questions about what you're trying to accomplish.

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            3
            • SGaistS SGaist

              Qt 4 ? You know that you shouldn't use that for new project as it has reached end of life ?

              In any case, better have some more information about your project otherwise it's only going to be speculations.

              M Offline
              M Offline
              Mike456
              wrote on last edited by
              #6

              @SGaist,

              @SGaist said in Once you create a project via Qt Creator, how do you run it outside of Creator:

              Qt 4 ? You know that you shouldn't use that for new project as it has reached end of life ?

              Can you specifically explain to me why Qt 5 is better than Qt4? Are you talking about Qt service?

              In any case, better have some more information about your project otherwise it's only going to be speculations.

              What specific kind of information?

              JKSHJ 1 Reply Last reply
              0
              • M Mike456

                @SGaist,

                @SGaist said in Once you create a project via Qt Creator, how do you run it outside of Creator:

                Qt 4 ? You know that you shouldn't use that for new project as it has reached end of life ?

                Can you specifically explain to me why Qt 5 is better than Qt4? Are you talking about Qt service?

                In any case, better have some more information about your project otherwise it's only going to be speculations.

                What specific kind of information?

                JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by JKSH
                #7

                @Mike456 said in Once you create a project via Qt Creator, how do you run it outside of Creator:

                Can you specifically explain to me why Qt 5 is better than Qt4? Are you talking about Qt service?

                Qt 4 reached End-of-Life status in December 2015. This means it is no longer supported -- it will not receive any new features, bug fixes, or security fixes.

                If someone finds a security vulnerability in Qt 4, that means they could attack any computer that runs Qt 4 software. The user of the software will have no protection because the flaw will never be fixed. In contrast, if such a vulnerability is found in a supported version of Qt 5, the vulnerability will be fixed urgently so that users cannot be attacked.

                If you find a bug in Qt 4 that affects your project, there is not much you can do about it -- you'll need to find your own workaround to the bug or patch Qt yourself. In contrast, if you find a bug in a supported version of Qt 5, you can file a bug report and there's a good chance it will be fixed.

                In any case, better have some more information about your project otherwise it's only going to be speculations.

                What specific kind of information?

                For starters: What is your development PC's OS? What is your deployment target's OS? Will the final product be released to customers, or is it for internal use only? How do you plan to maintain the project? Which features of Qt do you plan to use?

                Also, remember to start reading http://doc.qt.io/qt-5/deployment.html

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                1

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved