Проблему решил, но в чем ошибка, так и не понял.
В pro-файле есть кусок, ошибка исчезает, если закоментировать DESTDIR.
win32:CONFIG(release, debug|release):{
win32-msvc:contains(QMAKE_HOST.arch, x86_64):{
# DIRS for win64
# DESTDIR = $$_PRO_FILE_PWD_/../build64_release/release
OBJECTS_DIR = $$_PRO_FILE_PWD_/../build64_release/release
MOC_DIR = $$_PRO_FILE_PWD_/../build64_release/release
RCC_DIR = $$_PRO_FILE_PWD_/../build64_release/release
} else {
# DIRS for win32
# DESTDIR = $$_PRO_FILE_PWD_/../build_release/release
OBJECTS_DIR = $$_PRO_FILE_PWD_/../build_release/release
MOC_DIR = $$_PRO_FILE_PWD_/../build_release/release
RCC_DIR = $$_PRO_FILE_PWD_/../build_release/release
}
}
win32:CONFIG(debug, debug|release):{
win32-msvc:contains(QMAKE_HOST.arch, x86_64):{
# DIRS for win64
# DESTDIR = $$_PRO_FILE_PWD_/../build64_debug/debug
OBJECTS_DIR = $$_PRO_FILE_PWD_/../build64_debug/debug
MOC_DIR = $$_PRO_FILE_PWD_/../build64_debug/debug
RCC_DIR = $$_PRO_FILE_PWD_/../build64_debug/debug
} else {
# DIRS for win32
# DESTDIR = $$_PRO_FILE_PWD_/../build_debug/debug
OBJECTS_DIR = $$_PRO_FILE_PWD_/../build_debug/debug
MOC_DIR = $$_PRO_FILE_PWD_/../build_debug/debug
RCC_DIR = $$_PRO_FILE_PWD_/../build_debug/debug
}
}