I made a project in VS 2015 with Qt 5.8. I can use QTimer, but I can't use QElapsedTimer.

I have another project that can use QTimer and QElapsedTimer. I can't figure out the difference.

When it works I can see QElapsedTimer in Additional Dependencies. When it doesn't, I cannot.

Both QTimer and QElapsedTimer are located in the Qt\Core directory.

Is there a prepoccessor or project setting I am missing?