Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Creating and running a widget application
Forum Updated to NodeBB v4.3 + New Features

Creating and running a widget application

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 1.2k 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.
  • tomyT Offline
    tomyT Offline
    tomy
    wrote on last edited by
    #1

    Using this Widget Application, and Qt Creator 4.3.0 (Qt 5.0), I created a project named Widget1 this way:

    File -> New file or Project -> Application -> Qt Widgets Application -> Widget1 -> Selecting the Kits -> Renaming the "Class Name" to Widget1 -> Unchecking "Generate Form" -> Next -> Finish.

    Then changed the main.cpp to the one in the example. And also added two files to the project named: customwidget.h and customwidget.cpp and wrote the codes for them like the example and ran the project.
    It works fine.

    My question is, have I gone the route correctly? Would you do exactly the same steps if you were me?

    Thanks.

    Venkatesh VV 1 Reply Last reply
    0
    • tomyT tomy

      Using this Widget Application, and Qt Creator 4.3.0 (Qt 5.0), I created a project named Widget1 this way:

      File -> New file or Project -> Application -> Qt Widgets Application -> Widget1 -> Selecting the Kits -> Renaming the "Class Name" to Widget1 -> Unchecking "Generate Form" -> Next -> Finish.

      Then changed the main.cpp to the one in the example. And also added two files to the project named: customwidget.h and customwidget.cpp and wrote the codes for them like the example and ran the project.
      It works fine.

      My question is, have I gone the route correctly? Would you do exactly the same steps if you were me?

      Thanks.

      Venkatesh VV Offline
      Venkatesh VV Offline
      Venkatesh V
      wrote on last edited by
      #2

      @tomy
      Hi,

      Yes, you are in right route. Go ahead

      1 Reply Last reply
      3
      • tomyT Offline
        tomyT Offline
        tomy
        wrote on last edited by
        #3

        Thank you.

        1 Reply Last reply
        2
        • Pradeep KumarP Offline
          Pradeep KumarP Offline
          Pradeep Kumar
          wrote on last edited by
          #4

          Hi,

          @tomy yes u can continue coding.
          Happy Coding.

          Thanks,

          Pradeep Kumar
          Qt,QML Developer

          1 Reply Last reply
          2
          • tomyT Offline
            tomyT Offline
            tomy
            wrote on last edited by
            #5

            Thanks. I will continue the process. :-)

            1 Reply Last reply
            1
            • Pradeep KumarP Offline
              Pradeep KumarP Offline
              Pradeep Kumar
              wrote on last edited by
              #6

              can u mark as solved if u got the solution:
              Cheers:)

              Thanks,

              Pradeep Kumar
              Qt,QML Developer

              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