m20io / monav

Automatically exported from code.google.com/p/monav
0 stars 0 forks source link

using std classes insted of qt library #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
why using qt library?

i have searched the code where qt is used. 
most of them ca be done with std classes.

ok, the ui part is more portable but is boring to download qt compile them and 
so on.

Original issue reported on code.google.com by Matthias...@t-online.de on 28 Jan 2011 at 1:54

GoogleCodeExporter commented 8 years ago
At the moment Qt is used for ( and could be replaced by ):
 - GUI ( cannot be replaced )
 - Logging via qDebug / qWarning etc... ( could only be replaces by another library or our own solution )
 - Hashmaps ( only C++ > TR1, not portable right now, std::map is slower )
 - Memory Mapped Files / data streams ( only non-portable code )
 - GPS device access ( only non-portable code )
 - Storing settings ( only non-portable code )
 - QStrings for UTF8  / Unicode support ( STL does not handle this do my knowledge )
 - Directory traversal ( "/" vs "\" etc... ) 

QVector might be replaced by STL classes, but it is already only used in 
non-time-critical sections.

So you see, making MoNav independent of Qt ( except for the GUI ) would 
introduce the need for a lot of platform-specific code, avoiding which is 
exactly the reason we moved from wxWidgets to Qt.

Of course, if you have suggestions on replacing specific Qt usage, their always 
welcome.

Original comment by veaac.fd...@gmail.com on 28 Jan 2011 at 10:24

GoogleCodeExporter commented 8 years ago

Original comment by veaac.fd...@gmail.com on 3 Feb 2011 at 11:36