Attempting to fix build errors in Linux (remove references to Qt from logic).