I have written all of my code on a windows 7 environment. I now need to port it Mac OS 10.6. The first questioin is how to fix my project files. RIght now I have sections of the project file that looks like the below code. But since Mac's do not have a C drive and the paths are different, what is the correct way to make my project files work on both environments?

Qt Code:
  1. QT += core gui network qwt webkit
  2.  
  3.  
  4. TARGET = eP1
  5. TEMPLATE = app
  6.  
  7. RC_FILE = eP1.rc
  8.  
  9.  
  10. QWT_DIR = C:/qwt-6.0.1
  11. INCLUDEPATH += $$QWT_DIR/include
  12. INCLUDEPATH += C:/Temp/QT_Projects/qextserialport/src
  13. INCLUDEPATH += C:/Temp/QT_Projects/minimoog-QTweetLib-2129f91/src
  14.  
  15. VERSION = 0.987
  16. DEFINES += "MAJOR_VER=\"0\""
  17. DEFINES += "MINOR_VER=\"987\""
  18.  
  19.  
  20. include(C:/QtSDK/Desktop/Qt/4.7.3/mingw/qtsingleapplication/src/qtsingleapplication.pri)
  21.  
  22. SOURCES += main.cpp\
  23. mainwindow_ep1.cpp \
  24.  
  25. ....
  26.  
  27. OTHER_FILES += \
  28. ep1_logo.png \
  29. index.html \
  30. main.js
  31.  
  32. QMAKE_LIBDIR += C:/Temp/QT_Projects/qextserialport/src-build-desktop/build
  33.  
  34. QMAKE_LIBDIR += C:/qwt-6.0.1/lib
To copy to clipboard, switch view to plain text mode