Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt creator - build tab is inactive , play button is inactive .How to activate them?
Forum Updated to NodeBB v4.3 + New Features

Qt creator - build tab is inactive , play button is inactive .How to activate them?

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 2 Posters 2.0k 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.
  • L Offline
    L Offline
    loves_oi
    wrote on 3 Dec 2014, 22:49 last edited by
    #1

    Hello, I want to develop a software using Python in Qt. I installed python, qt, qt creator ,sip, pyqt. When i open qt creator , build tab is inactive. I installed Qt 5.3. After this problem , i installed the Qt 5.4 also. However the same problem still exists. It founds path of compiler ,Qt versions,kits automatically.
    Searching on the web, i found a solution,but it doesn't satisfied me.By using tools->external->configure->add->addcategory , i add my path of python. Now when i write some code,it can run with tools->external -> myCategory. However , build tab is inactive. bottom-left play button and other two buttons around it are inactive. I think something is missing. I want to run my code with clicking bottom-left play button, or i want to use develop tab. Why are they inactive? How can i activate them ?
    Thanks in advance.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 3 Dec 2014, 23:53 last edited by
      #2

      Hi and welcome to devnet,

      Which version of Qt Creator are you using ? If under version 3.0.0, that's normal, you need to upgrade to at least that version for Qt >= 5.2

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

      1 Reply Last reply
      0
      • L Offline
        L Offline
        loves_oi
        wrote on 4 Dec 2014, 13:46 last edited by
        #3

        I download the online installer and installed qt 5.4 and 5.3 in this way in linux. My Qt Creator is :
        Qt Creator 3.2.2 (opensource)
        Based on Qt 5.3.2 (GCC 4.6.1, 32 bit)

        then i installed sip .Then i installed pyqt as below:
        python configure-ng.py -q /home/oiyio/Qt/5.4/gcc/bin/qmake

        python configure.py -q /home/oiyio/Qt/5.4/gcc/bin/qmake

        make

        make install

        When i typed make ,after 1-2 minutes passed , it gives error , function f not found etc. then i typed make install. It gives the same error "... function f not found ..."

        Then i change 5.4 with 5.3 as below:
        python configure-ng.py -q /home/oiyio/Qt/5.3/gcc/bin/qmake

        python configure.py -q /home/oiyio/Qt/5.3/gcc/bin/qmake

        make

        make install
        It gives no error.Everything compiles fine.

        In application tab-> programming,Qt Creator (open source) appears. I open Qt Creator clicking this.
        I open a new python file and write print("something") etc, but build tab is inactive, play button is inactive. I'm stacked at this point. Pleaseee help

        1 Reply Last reply
        0
        • L Offline
          L Offline
          loves_oi
          wrote on 4 Dec 2014, 14:32 last edited by
          #4

          OK.I understand the problem The problem is that i don't create a new project, instead i create just a python file. THus build tab play button appears inactive.
          When i create a project, it looks active.OK.
          When i open a project , and clicked run. It gives errors:
          cannot find -lGL
          collect2:error:ld returned 1 exit status
          Why i take this error? HOw to do a sample project like hello world?
          But what project can i start to write python in it? I will make design.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 4 Dec 2014, 22:53 last edited by
            #5

            You can find several post on this forum for that GL error. You are missing the OpenGL development libraries.

            Qt's default projects run with the minimal amount of code to get a window/widget

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

            1 Reply Last reply
            0

            1/5

            3 Dec 2014, 22:49

            • Login

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