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. NEW WIDGET APPLICATION UNABLE TO OPEN
Forum Updated to NodeBB v4.3 + New Features

NEW WIDGET APPLICATION UNABLE TO OPEN

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 3 Posters 1.5k Views
  • 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.
  • D Offline
    D Offline
    dheerendra
    Qt Champions 2022
    wrote on 7 Jun 2018, 04:59 last edited by
    #3

    Are you able to open the QtCreator ?
    Are you able to create the project ?
    Are you able to build the project ?
    Is build successful ?

    Dheerendra
    @Community Service
    Certified Qt Specialist
    http://www.pthinks.com

    1 Reply Last reply
    1
    • B Offline
      B Offline
      Biradar
      wrote on 7 Jun 2018, 05:04 last edited by
      #4

      I am using linux RHEL 7.2, i am able to open qt creator and when creating new widget app, throwing error unable to open /qt4project/main.cpp. unable build and unable to create new application. I am creating new project from qt creator... Basically i am not able to create project.

      J 1 Reply Last reply 7 Jun 2018, 06:36
      0
      • D Offline
        D Offline
        dheerendra
        Qt Champions 2022
        wrote on 7 Jun 2018, 05:09 last edited by
        #5

        looks like you old Qt in the path. Just check what settings you have under Qt Creator. Open the QtCreator ->Tools->options->Build-Run-Kits.

        Can you check which kits are available ? Does it show any "ReD" mark for any of the kits ?

        Dheerendra
        @Community Service
        Certified Qt Specialist
        http://www.pthinks.com

        1 Reply Last reply
        1
        • B Biradar
          7 Jun 2018, 05:04

          I am using linux RHEL 7.2, i am able to open qt creator and when creating new widget app, throwing error unable to open /qt4project/main.cpp. unable build and unable to create new application. I am creating new project from qt creator... Basically i am not able to create project.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 7 Jun 2018, 06:36 last edited by
          #6

          @Biradar said in NEW WIDGET APPLICATION UNABLE TO OPEN:

          /qt4project/main.cpp

          Is this really the whole path?!

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • B Offline
            B Offline
            Biradar
            wrote on 7 Jun 2018, 10:38 last edited by Biradar 6 Jul 2018, 10:40
            #7

            Kits it showing Auto detect and in manual showing unnamed default under this device type qt version ...etc showing except qt-mkspec is empty. full ERROR IS "cannot open /usr/share/qtcreator/templetes/qt4project/main.cpp." version showing manual Qt 5.2.1 (Qt-5.2.1) /usr/local/ Qt 5.2.1/bin/qmake. there's no red mark any kit, only one kit is there manual unnamed.

            J 1 Reply Last reply 8 Jun 2018, 05:00
            0
            • B Biradar
              7 Jun 2018, 10:38

              Kits it showing Auto detect and in manual showing unnamed default under this device type qt version ...etc showing except qt-mkspec is empty. full ERROR IS "cannot open /usr/share/qtcreator/templetes/qt4project/main.cpp." version showing manual Qt 5.2.1 (Qt-5.2.1) /usr/local/ Qt 5.2.1/bin/qmake. there's no red mark any kit, only one kit is there manual unnamed.

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 8 Jun 2018, 05:00 last edited by
              #8

              @Biradar said in NEW WIDGET APPLICATION UNABLE TO OPEN:

              /usr/share/qtcreator/templetes/qt4project/main.cpp

              What is in /usr/share/qtcreator/templetes ?
              It looks like either QtCreator installation is broken or not complete (project templates are missing).

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • B Offline
                B Offline
                Biradar
                wrote on 8 Jun 2018, 05:02 last edited by Biradar 6 Aug 2018, 05:12
                #9

                shall i reinstall qt-creator, how do i remove existing one ....

                J 1 Reply Last reply 8 Jun 2018, 05:06
                0
                • B Biradar
                  8 Jun 2018, 05:02

                  shall i reinstall qt-creator, how do i remove existing one ....

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 8 Jun 2018, 05:06 last edited by
                  #10

                  @Biradar How did you install QtCreator? Did you install RPM package which RHEL provides? If so then use rpm to remove/install. Also you should check whether RHEL splits QtCreator into several packages.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    Biradar
                    wrote on 8 Jun 2018, 05:12 last edited by
                    #11

                    It is not RHEL provided and I have licensed qt creator 3.01 downloaded from qt website and installed that zip file unziped and installed ...

                    J 1 Reply Last reply 8 Jun 2018, 06:06
                    0
                    • B Biradar
                      8 Jun 2018, 05:12

                      It is not RHEL provided and I have licensed qt creator 3.01 downloaded from qt website and installed that zip file unziped and installed ...

                      J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 8 Jun 2018, 06:06 last edited by
                      #12

                      @Biradar This is a quite old QtCreator version.
                      You should use the Qt Online Installer to download and install Qt and QtCreator.

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • B Offline
                        B Offline
                        Biradar
                        wrote on 8 Jun 2018, 09:26 last edited by
                        #13

                        Than k u all for the support it is resolved after re installation

                        1 Reply Last reply
                        0

                        12/13

                        8 Jun 2018, 06:06

                        • Login

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