Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to determine the project templates in creating projects using Qt-Creator?

How to determine the project templates in creating projects using Qt-Creator?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 2 Posters 888 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.
  • Stan HuangS Offline
    Stan HuangS Offline
    Stan Huang
    wrote on last edited by
    #1

    I would like to create a project based on source codes at tutorial's examples, but even failed at the first step in Qt Creator. I don't know how to determine the project template I should choose for my current sample programs. If I choose 'Other Project' --> 'Empty qmake project', I must write .pro, .qrc and man.cpp by myself. I found I usually got failure in building even I copied the content of them from other workable projects. Did I miss something?
    Ex., could you tell how to create projects for samples at https://doc.qt.io/qt-5/qml-tutorial2.html or at https://doc.qt.io/qt-5/qml-tutorial3.html
    I would like to use Qt-Creator to re-create some projects from \Qt5\Examples... even there are .pro file in them.

    J.HilkJ 1 Reply Last reply
    0
    • Stan HuangS Stan Huang

      I would like to create a project based on source codes at tutorial's examples, but even failed at the first step in Qt Creator. I don't know how to determine the project template I should choose for my current sample programs. If I choose 'Other Project' --> 'Empty qmake project', I must write .pro, .qrc and man.cpp by myself. I found I usually got failure in building even I copied the content of them from other workable projects. Did I miss something?
      Ex., could you tell how to create projects for samples at https://doc.qt.io/qt-5/qml-tutorial2.html or at https://doc.qt.io/qt-5/qml-tutorial3.html
      I would like to use Qt-Creator to re-create some projects from \Qt5\Examples... even there are .pro file in them.

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @Stan-Huang
      question, why don't you simply copy the example from QtCreator and edit that one ?


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      0
      • Stan HuangS Offline
        Stan HuangS Offline
        Stan Huang
        wrote on last edited by
        #3

        I know to get those file to study and modify, but what I really want it to know through what kind of steps in Qt-Creator to create those projects. Even I have .pro at hand, I still can't figure out it.
        If I can grasp the know-how of creating projects using Qt-Creator, how can I create my own projects other than Examples? And how can I demo Qt-Creator to create projects/programs to my boss?

        J.HilkJ 1 Reply Last reply
        0
        • Stan HuangS Stan Huang

          I know to get those file to study and modify, but what I really want it to know through what kind of steps in Qt-Creator to create those projects. Even I have .pro at hand, I still can't figure out it.
          If I can grasp the know-how of creating projects using Qt-Creator, how can I create my own projects other than Examples? And how can I demo Qt-Creator to create projects/programs to my boss?

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @Stan-Huang alight

          Qt is only slightly more complicated to start up than your normal run of the hill c++ application.

          Anyway, have you seen the getting started with Qt section of the docu ?

          https://doc.qt.io/qt-5/qtwidgets-tutorials-notepad-example.html

          its a good in-depth guide how to get your very first project up and running


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          2

          • Login

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