Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is QtCreator 4.2.1 has bugs that not showing icons after adding file?
Qt 6.11 is out! See what's new in the release blog

Is QtCreator 4.2.1 has bugs that not showing icons after adding file?

Scheduled Pinned Locked Moved Unsolved General and Desktop
35 Posts 3 Posters 16.1k Views 3 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.
  • mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi
    Can you explain how to reproduce what you see ?
    If I make new project,
    right click and select add existing files
    they are added. ( every time)

    Also look in your .pro file and see if they are added.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      laskdjlaskdj12
      wrote on last edited by
      #3

      Yeah "right click" and "add new file".
      I checked the .pro file after added new Sourcefile in project and already exsist about SourceFile information .
      (In this Sourcefile is all of Qt provide file)
      but there is no file icon appear in Qt Creator 4.2.1.
      and The Qt Creator have default setting after upgrade in 5.8 pack.

      1 Reply Last reply
      0
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #4
        • no file icon appear in Qt Creator 4.2.1.

        alt text

        Those icons?

        1 Reply Last reply
        0
        • L Offline
          L Offline
          laskdjlaskdj12
          wrote on last edited by
          #5

          yea that icon

          mrjjM 1 Reply Last reply
          0
          • L laskdjlaskdj12

            yea that icon

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by mrjj
            #6

            @laskdjlaskdj12

            Can you pro file maybe contain errors?

            Else i have no idea. not seen any posts about adding file not working.
            Using that version myself. on win 10.

            1 Reply Last reply
            0
            • L Offline
              L Offline
              laskdjlaskdj12
              wrote on last edited by laskdjlaskdj12
              #7

              ![alt text](0_1488022854200_upload-8bed97fb-da1a-41f5-97c6-2873142d837e image url)

              I added test_sourcefile.h & test_courcefile.cpp in Test_Project_about_icons Project right now.
              As you can see there is no icons in Proejct section.
              but in .pro file have already exsist about Headers section and Sourcefile section.

              and i tested that appear that icon is close the project and open the project.

              1 Reply Last reply
              0
              • L Offline
                L Offline
                laskdjlaskdj12
                wrote on last edited by
                #8

                oh. the Version is macOS sierra

                mrjjM 1 Reply Last reply
                0
                • L laskdjlaskdj12

                  oh. the Version is macOS sierra

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #9

                  @laskdjlaskdj12
                  oh, well pro file look ok.
                  I can see the test_sourcefile so i see what you mean now.

                  Are there any errors shown in compiler output when u ask it to run qmake?

                  L 1 Reply Last reply
                  0
                  • mrjjM mrjj

                    @laskdjlaskdj12
                    oh, well pro file look ok.
                    I can see the test_sourcefile so i see what you mean now.

                    Are there any errors shown in compiler output when u ask it to run qmake?

                    L Offline
                    L Offline
                    laskdjlaskdj12
                    wrote on last edited by laskdjlaskdj12
                    #10

                    @mrjj no Error in compiler section

                    So it's so weird that Before using 4.2.0 couldn't find this issus.

                    mrjjM 2 Replies Last reply
                    0
                    • L laskdjlaskdj12

                      @mrjj no Error in compiler section

                      So it's so weird that Before using 4.2.0 couldn't find this issus.

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #11

                      @laskdjlaskdj12
                      It does seems like bug. Im complete macOS noob so not sure
                      what to check next. You didnt upgrade Xcode, just QCreator ?

                      I searched fast on
                      https://bugreports.qt.io/
                      but nothing spang to eye.

                      L 1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        laskdjlaskdj12
                        wrote on last edited by
                        #12
                        This post is deleted!
                        1 Reply Last reply
                        0
                        • mrjjM mrjj

                          @laskdjlaskdj12
                          It does seems like bug. Im complete macOS noob so not sure
                          what to check next. You didnt upgrade Xcode, just QCreator ?

                          I searched fast on
                          https://bugreports.qt.io/
                          but nothing spang to eye.

                          L Offline
                          L Offline
                          laskdjlaskdj12
                          wrote on last edited by
                          #13

                          @mrjj i've upgrade all section of xcode and QtCreator and macOS version.
                          and check about two different device of MBP and they have this same issus.

                          and already searching this issus in google and nothing reported this at least 2016

                          1 Reply Last reply
                          0
                          • L laskdjlaskdj12

                            @mrjj no Error in compiler section

                            So it's so weird that Before using 4.2.0 couldn't find this issus.

                            mrjjM Offline
                            mrjjM Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on last edited by mrjj
                            #14

                            @laskdjlaskdj12
                            Hi
                            You should chekc the kits if they show errors
                            http://doc.qt.io/qtcreator/creator-targets.html

                            I think it might be something like
                            https://geonet.esri.com/thread/165647

                            Also please list the version in use
                            XCode. Qt version and the MacOS version. (macOS sierra)
                            That will help when the mac programmers come online.

                            L 2 Replies Last reply
                            0
                            • mrjjM mrjj

                              @laskdjlaskdj12
                              Hi
                              You should chekc the kits if they show errors
                              http://doc.qt.io/qtcreator/creator-targets.html

                              I think it might be something like
                              https://geonet.esri.com/thread/165647

                              Also please list the version in use
                              XCode. Qt version and the MacOS version. (macOS sierra)
                              That will help when the mac programmers come online.

                              L Offline
                              L Offline
                              laskdjlaskdj12
                              wrote on last edited by laskdjlaskdj12
                              #15

                              @mrjj sorry that it's hard to say this can be useful answer to me because after macOS update in sierra ton of Errors appear before 5.7.1 versions.

                              and also All kits Configure is fine.

                              QtCreator 4.2.1
                              Qt 5.8.0
                              revision 7071b61e02
                              sierra 10.12.3
                              xcode 8.1

                              1 Reply Last reply
                              0
                              • mrjjM mrjj

                                @laskdjlaskdj12
                                Hi
                                You should chekc the kits if they show errors
                                http://doc.qt.io/qtcreator/creator-targets.html

                                I think it might be something like
                                https://geonet.esri.com/thread/165647

                                Also please list the version in use
                                XCode. Qt version and the MacOS version. (macOS sierra)
                                That will help when the mac programmers come online.

                                L Offline
                                L Offline
                                laskdjlaskdj12
                                wrote on last edited by laskdjlaskdj12
                                #16

                                @mrjj and thankyou for kindness this problem
                                i'd so stressful of this bugs

                                mrjjM 1 Reply Last reply
                                0
                                • L laskdjlaskdj12

                                  @mrjj and thankyou for kindness this problem
                                  i'd so stressful of this bugs

                                  mrjjM Offline
                                  mrjjM Offline
                                  mrjj
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #17

                                  @laskdjlaskdj12
                                  Dont worry. Most likely not something very bad.
                                  I think its not parsing the .pro file. Not sure if it uses qmake for that too but
                                  i assume. So it looks like its not re-parsing the file and hence nothing happens.

                                  Its strange however, there is no build errors and it sounds like the kits are all green too.

                                  When you compile, in the compiler output, does it call the tools and look overall happy?

                                  L 1 Reply Last reply
                                  0
                                  • mrjjM mrjj

                                    @laskdjlaskdj12
                                    Dont worry. Most likely not something very bad.
                                    I think its not parsing the .pro file. Not sure if it uses qmake for that too but
                                    i assume. So it looks like its not re-parsing the file and hence nothing happens.

                                    Its strange however, there is no build errors and it sounds like the kits are all green too.

                                    When you compile, in the compiler output, does it call the tools and look overall happy?

                                    L Offline
                                    L Offline
                                    laskdjlaskdj12
                                    wrote on last edited by
                                    #18

                                    @mrjj yeah this is the log after compile picture project

                                    Starting /Users//Desktop/QML tutorial/build-Test_Project_about_icons-Desktop_Qt_5_8_0_clang_64bit-Debug/Test_Project_about_icons.app/Contents/MacOS/Test_Project_about_icons...
                                    QML debugging is enabled. Only use this in a safe environment.
                                    qml: Clicked on background. Text: "Enter some text..."
                                    /Users/
                                    /Desktop/QML tutorial/build-Test_Project_about_icons-Desktop_Qt_5_8_0_clang_64bit-Debug/Test_Project_about_icons.app/Contents/MacOS/Test_Project_about_icons exited with code 0

                                    i guss QtCreator didn't hotloading anything.

                                    mrjjM L 2 Replies Last reply
                                    0
                                    • L laskdjlaskdj12

                                      @mrjj yeah this is the log after compile picture project

                                      Starting /Users//Desktop/QML tutorial/build-Test_Project_about_icons-Desktop_Qt_5_8_0_clang_64bit-Debug/Test_Project_about_icons.app/Contents/MacOS/Test_Project_about_icons...
                                      QML debugging is enabled. Only use this in a safe environment.
                                      qml: Clicked on background. Text: "Enter some text..."
                                      /Users/
                                      /Desktop/QML tutorial/build-Test_Project_about_icons-Desktop_Qt_5_8_0_clang_64bit-Debug/Test_Project_about_icons.app/Contents/MacOS/Test_Project_about_icons exited with code 0

                                      i guss QtCreator didn't hotloading anything.

                                      mrjjM Offline
                                      mrjjM Offline
                                      mrjj
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #19

                                      @laskdjlaskdj12
                                      If you make error in
                                      main.c
                                      does it catch it ?

                                      like
                                      int dummy <--- should complain about missing ;

                                      1 Reply Last reply
                                      0
                                      • L laskdjlaskdj12

                                        @mrjj yeah this is the log after compile picture project

                                        Starting /Users//Desktop/QML tutorial/build-Test_Project_about_icons-Desktop_Qt_5_8_0_clang_64bit-Debug/Test_Project_about_icons.app/Contents/MacOS/Test_Project_about_icons...
                                        QML debugging is enabled. Only use this in a safe environment.
                                        qml: Clicked on background. Text: "Enter some text..."
                                        /Users/
                                        /Desktop/QML tutorial/build-Test_Project_about_icons-Desktop_Qt_5_8_0_clang_64bit-Debug/Test_Project_about_icons.app/Contents/MacOS/Test_Project_about_icons exited with code 0

                                        i guss QtCreator didn't hotloading anything.

                                        L Offline
                                        L Offline
                                        laskdjlaskdj12
                                        wrote on last edited by
                                        #20

                                        @mrjj yeah catch syntes error and

                                        /Users/***/Desktop/QML tutorial/Test_Project_about_icons/main.cpp:11: error: expected ';' after return statement
                                        return app.exec()
                                        ^
                                        ;

                                        mrjjM 1 Reply Last reply
                                        0
                                        • L laskdjlaskdj12

                                          @mrjj yeah catch syntes error and

                                          /Users/***/Desktop/QML tutorial/Test_Project_about_icons/main.cpp:11: error: expected ';' after return statement
                                          return app.exec()
                                          ^
                                          ;

                                          mrjjM Offline
                                          mrjjM Offline
                                          mrjj
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #21

                                          @laskdjlaskdj12

                                          So it really is alive. ( also hinted by all kits looking ok)

                                          But it completely ignore any new file added it seems.

                                          If you go to build menu and choose qmake
                                          and then look in compiler output.

                                          for me it looks like
                                          13:30:02: Starting: "C:\Qt\5.7\msvc2015\bin\qmake.exe" M:\dropbox_qtprojects\untitled28\untitled28.pro -spec win32-msvc2015 "CONFIG+=debug" "CONFIG+=qml_debug"
                                          13:30:03: The process "C:\Qt\5.7\msvc2015\bin\qmake.exe" exited normally.

                                          How does it look for you ?

                                          L 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
                                          • Unsolved