Okay, in a .cpp file you can put the following:
#ifdef Q_WS_QWS
#endif
to denote Embedded Linux. It seems you can't do this in a .pro file. I've got a couple of lines in the .pro file that I want to ignore when compiling/running the application on the desktop (Linux). They are:
CONFIG += static
LIBS+= -L../xxxxkbrdplugin/kbddrivers \
-lxxxxkbrddriverplugin
How does one put a conditional in the .pro file to ignore these lines when compiling to run on a Linux desktop? Thanks for the help.
Bookmarks