プロジェクト (.pro) で OS ごとに分岐する

windows {
    folder01.target = debug/data
} else {
    folder01.target = data
}

参考にしたページ