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.6k 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.
  • B Offline
    B Offline
    Biradar
    wrote on 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.

    jsulmJ 1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on 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

        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.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on 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 last edited by Biradar
          #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.

          jsulmJ 1 Reply Last reply
          0
          • B Biradar

            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.

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on 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 last edited by Biradar
              #9

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

              jsulmJ 1 Reply Last reply
              0
              • B Biradar

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

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on 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 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 ...

                  jsulmJ 1 Reply Last reply
                  0
                  • B Biradar

                    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 ...

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 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 last edited by
                      #13

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

                      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