This is my pro file
win32{
Release:
MOC_DIR = $$PWD/../bin/release/win32/$$TARGET
OBJECTS_DIR = $$PWD/../bin/release/win32/$$TARGET
DESTDIR = $$PWD/../bin/release/win32/$$TARGET
Debug:
MOC_DIR = $$PWD/../bin/debug/win32/$$TARGET
OBJECTS_DIR = $$PWD/../bin/debug/win32/$$TARGET
DESTDIR = $$PWD/../bin/debug/win32/$$TARGET
}
macx{
Release:
MOC_DIR = $$PWD/../bin/release/macx/$$TARGET
OBJECTS_DIR = $$PWD/../bin/release/macx/$$TARGET
DESTDIR = $$PWD/../bin/release/macx/$$TARGET
Debug:
MOC_DIR = $$PWD/../bin/debug/macx/$$TARGET
OBJECTS_DIR = $$PWD/../bin/debug/macx/$$TARGET
DESTDIR = $$PWD/../bin/debug/macx/$$TARGET
}
win32{
Release:
MOC_DIR = $$PWD/../bin/release/win32/$$TARGET
OBJECTS_DIR = $$PWD/../bin/release/win32/$$TARGET
DESTDIR = $$PWD/../bin/release/win32/$$TARGET
Debug:
MOC_DIR = $$PWD/../bin/debug/win32/$$TARGET
OBJECTS_DIR = $$PWD/../bin/debug/win32/$$TARGET
DESTDIR = $$PWD/../bin/debug/win32/$$TARGET
}
macx{
Release:
MOC_DIR = $$PWD/../bin/release/macx/$$TARGET
OBJECTS_DIR = $$PWD/../bin/release/macx/$$TARGET
DESTDIR = $$PWD/../bin/release/macx/$$TARGET
Debug:
MOC_DIR = $$PWD/../bin/debug/macx/$$TARGET
OBJECTS_DIR = $$PWD/../bin/debug/macx/$$TARGET
DESTDIR = $$PWD/../bin/debug/macx/$$TARGET
}
To copy to clipboard, switch view to plain text mode
Question 1
In windows
when I "Set Build Configuration" to debug or release, it always run like this.
Starting C:\test\bin\debug\win32\app\app.exe...
C:\test\bin\debug\win32\app\app.exe exited with code 0
Starting C:\test\bin\debug\win32\app\app.exe...
C:\test\bin\debug\win32\app\app.exe exited with code 0
To copy to clipboard, switch view to plain text mode
But I can find the app.exe at folder of bin\debug\win32\app\app.exe and bin\release\win32\app\app.exe.
Question 2
In mac
when I "Set Build Configuration" to debug or release, it always crate app.app at
bin\debug\macx\app\app.app
Why can not found bin\release\macx\app\app.app ?
Bookmarks