I would like to have do two separate forms in Qt Creator. One for landscape mode and the other one for portrait mode. But since the code would be exactly the same, all I want to change is the define which form file to use. Is this possible? If yes, then how? Or is there a better method?