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. [Solved]Why I can't build any project which was downloaded from internet in Qt Creator
Forum Updated to NodeBB v4.3 + New Features

[Solved]Why I can't build any project which was downloaded from internet in Qt Creator

Scheduled Pinned Locked Moved Qt Creator and other tools
9 Posts 2 Posters 3.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.
  • N Offline
    N Offline
    nimingzhe2008
    wrote on last edited by
    #1

    I can build my own project well,but when I built the project which was downloaded from internet,I failed and Qt Creator showed no message for me.
    I use Qt Creator 2.4.1 in Windows.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      There is no way to tell, based on just the information you give us.

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nimingzhe2008
        wrote on last edited by
        #3

        [quote author="Andre" date="1346764930"]There is no way to tell, based on just the information you give us. [/quote]
        When I created a project and copied the files from downloaded project to my own project,my own project was built well.But if I directly open .pro file from downloaded project,nothing will happen when I build it.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          Right. You already said so. But you are not showing us what program you want to build, how that .pro files looks, etc. Should we just magically know such things? So again: no way to tell.

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nimingzhe2008
            wrote on last edited by
            #5

            [quote author="Andre" date="1346766229"]Right. You already said so. But you are not showing us what program you want to build, how that .pro files looks, etc. Should we just magically know such things? So again: no way to tell.[/quote]
            I want to build Qt Gui Application for Windows.Because many .pro files I have opened,now I give a sample
            @######################################################################

            Automatically generated by qmake (2.01a) to 28. sep 16:43:38 2006

            ######################################################################

            TEMPLATE = app
            TARGET =
            DEPENDPATH += .
            INCLUDEPATH += .

            Input

            HEADERS += sdiwindow.h
            SOURCES += main.cpp sdiwindow.cpp
            RESOURCES += images.qrc
            @

            1 Reply Last reply
            0
            • N Offline
              N Offline
              nimingzhe2008
              wrote on last edited by
              #6

              sorry,Qt Creator actually gives me message when I build.here is

              Cannot find file: f:\library\Documents\大学学习\Qt\foundations of Qt 例子\Chapter04\sdi\sdi.pro.
              11:05:20: The process "d:\qtsdk\desktop\qt\4.8.1\msvc2010\bin\qmake.exe" exited with code 2.
              Error while building project sdi (target: Desktop)
              When executing build step 'qmake'

              1 Reply Last reply
              0
              • N Offline
                N Offline
                nimingzhe2008
                wrote on last edited by
                #7

                Help

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  andre
                  wrote on last edited by
                  #8

                  [quote author="nimingzhe2008" date="1346895424"]Help[/quote]
                  Practice some patience. Allow at least a couple of days before you "kick" your topic.

                  1 Reply Last reply
                  0
                  • N Offline
                    N Offline
                    nimingzhe2008
                    wrote on last edited by
                    #9

                    Now I understand.I correct the path of the .pro file,then it works well.There should be no space and non-English character in the path.

                    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