Unsolved Is QtCreator 4.2.1 has bugs that not showing icons after adding file?
-
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? -
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.
-
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. -
- no file icon appear in Qt Creator 4.2.1.
Those icons?
-
yea that icon
-
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. -

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.
-
oh. the Version is macOS sierra
-
@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?
-
@mrjj no Error in compiler section
So it's so weird that Before using 4.2.0 couldn't find this issus.
-
@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. -
This post is deleted! -
@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
-
@laskdjlaskdj12
Hi
You should chekc the kits if they show errors
http://doc.qt.io/qtcreator/creator-targets.htmlI think it might be something like
https://geonet.esri.com/thread/165647Also please list the version in use
XCode. Qt version and the MacOS version. (macOS sierra)
That will help when the mac programmers come online. -
@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 -
@mrjj and thankyou for kindness this problem
i'd so stressful of this bugs -
@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?
-
@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 0i guss QtCreator didn't hotloading anything.
-
@laskdjlaskdj12
If you make error in
main.c
does it catch it ?like
int dummy <--- should complain about missing ; -
@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()
^
;