c++ - Why QFileIconProvider is included in QtWidgets -


are there essential reasons why qfileiconprovider(link) included in qtwidgets library instead of qtcore? class usable , great in cases, location in qtwidgets makes qml application depending on library because of 1 class.

as pointed out: looks more bug report or feature request qt project stack overflow question.

however, answer isn't hard guess: qt isn't qml. in qt 5 qml sort of addon qt. in pure c++/qt applications qfileiconprovider in qtcore not make sense. helper class qfilesystemmodel, makes sense view class, of course located in qtwidgets. naturally ask, if qfilesystemmodel needs in qtwidgets, this, recommend qt-interest mailing list. http://lists.qt-project.org/mailman/listinfo


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -