Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

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

    General and Desktop
    3
    35
    6036
    Loading More Posts
    • 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
      laskdjlaskdj12 last edited by

      When adding new file or create any object file using QtCreator 4.2.1, they didn't appear after close and reload the project file.
      So, It's just missing setting of options? or just a bug?
      and if just a bug when the path is release?

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • L
          laskdjlaskdj12 last edited by

          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 Reply Quote 0
          • mrjj
            mrjj Lifetime Qt Champion last edited by

            • no file icon appear in Qt Creator 4.2.1.

            alt text

            Those icons?

            1 Reply Last reply Reply Quote 0
            • L
              laskdjlaskdj12 last edited by

              yea that icon

              mrjj 1 Reply Last reply Reply Quote 0
              • mrjj
                mrjj Lifetime Qt Champion @laskdjlaskdj12 last edited by mrjj

                @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 Reply Quote 0
                • L
                  laskdjlaskdj12 last edited by laskdjlaskdj12

                  ![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 Reply Quote 0
                  • L
                    laskdjlaskdj12 last edited by

                    oh. the Version is macOS sierra

                    mrjj 1 Reply Last reply Reply Quote 0
                    • mrjj
                      mrjj Lifetime Qt Champion @laskdjlaskdj12 last edited by

                      @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 Reply Quote 0
                      • L
                        laskdjlaskdj12 @mrjj last edited by laskdjlaskdj12

                        @mrjj no Error in compiler section

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

                        mrjj 2 Replies Last reply Reply Quote 0
                        • mrjj
                          mrjj Lifetime Qt Champion @laskdjlaskdj12 last edited by

                          @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 Reply Quote 0
                          • L
                            laskdjlaskdj12 last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • L
                              laskdjlaskdj12 @mrjj last edited by

                              @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 Reply Quote 0
                              • mrjj
                                mrjj Lifetime Qt Champion @laskdjlaskdj12 last edited by 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 2 Replies Last reply Reply Quote 0
                                • L
                                  laskdjlaskdj12 @mrjj last edited by laskdjlaskdj12

                                  @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 Reply Quote 0
                                  • L
                                    laskdjlaskdj12 @mrjj last edited by laskdjlaskdj12

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

                                    mrjj 1 Reply Last reply Reply Quote 0
                                    • mrjj
                                      mrjj Lifetime Qt Champion @laskdjlaskdj12 last edited by

                                      @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 Reply Quote 0
                                      • L
                                        laskdjlaskdj12 @mrjj last edited by

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

                                        mrjj L 2 Replies Last reply Reply Quote 0
                                        • mrjj
                                          mrjj Lifetime Qt Champion @laskdjlaskdj12 last edited by

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

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

                                          1 Reply Last reply Reply Quote 0
                                          • L
                                            laskdjlaskdj12 @laskdjlaskdj12 last edited by

                                            @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()
                                            ^
                                            ;

                                            mrjj 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post