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. Is QtCreator 4.2.1 has bugs that not showing icons after adding file?
Forum Updated to NodeBB v4.3 + New Features

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 9.2k 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.
  • 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
                                        • mrjjM mrjj

                                          @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 Offline
                                          L Offline
                                          laskdjlaskdj12
                                          wrote on last edited by
                                          #22

                                          @mrjj 0_1488026054707_upload-6d4d94e6-5938-4d1a-8412-2666e4acd45c

                                          21:34:58: Running steps for project Test_Project_about_icons...
                                          21:34:58: Configuration unchanged, skipping qmake step.
                                          21:34:58: Starting: "/usr/bin/make"
                                          /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.9 -g -std=gnu++11 -Wall -W -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../Test_Project_about_icons -I. -I../../../Qt5.8.0/5.8/clang_64/lib/QtQuick.framework/Headers -I../../../Qt5.8.0/5.8/clang_64/lib/QtGui.framework/Headers -I../../../Qt5.8.0/5.8/clang_64/lib/QtQml.framework/Headers -I../../../Qt5.8.0/5.8/clang_64/lib/QtNetwork.framework/Headers -I../../../Qt5.8.0/5.8/clang_64/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AGL.framework/Headers -I../../../Qt5.8.0/5.8/clang_64/mkspecs/macx-clang -F/Users//Qt5.8.0/5.8/clang_64/lib -o main.o ../Test_Project_about_icons/main.cpp
                                          /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -stdlib=libc++ -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.9 -Wl,-rpath,/Users/
                                          /Qt5.8.0/5.8/clang_64/lib -o Test_Project_about_icons.app/Contents/MacOS/Test_Project_about_icons main.o test_sourcefile.o qrc_qml.o moc_test_sourcefile.o -F/Users/***/Qt5.8.0/5.8/clang_64/lib -framework QtQuick -framework QtQml -framework QtNetwork -framework QtCore -framework DiskArbitration -framework IOKit -framework QtGui -framework OpenGL -framework AGL
                                          21:34:59: The process "/usr/bin/make" exited normally.
                                          21:34:59: Elapsed time: 00:01.

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