I'm just starting out with Qt and I really want to try and keep my application as separated from Qt as possible in case I decide to use a different toolset later, but at the same time don't want to make any decisions that will really cripple my application right from the beginning.
When writing a Qt Application is it considered good practice to always prefer Qt implementations when they are available? Or in some situations is it best to stick with standard C++ even when Qt has an alternative?
Consider the following...
Should I always prefer to use a Qt function implementation when it is availabe? Take the math functions for example...
Should I always prefer Qt data types over the defaults?
Should I always prefer Qt objects over their STL equivalents?
In each of these situations what are the advantages/disadvantages. What will I gain or lose?
The more Qt based functions/objects I use the more difficult it would be to switch to something other than Qt later.