Closed Selur closed 7 years ago
just realized the normal pro already has the needed adjustments, just the nogui one hasnt' ;)
also the nogui version crashes when called with:
delaycut_nogui -startdelay 2000 -o "H:\Output\iId_2_aid_1_13_57_26_5910_02.ac3" -i "H:\Output\iId_2_aid_1_DELAY_2000ms_13_57_26_5910_01.ac3"
=> seems like the nogui version is broken in different places
Yeah, the no-gui version is very experimental (I may move it to a different branch). Can you make a PR for the .pro file changes?
too much hassle, simply replacing:
QMAKE_CXXFLAGS += -std=c++11 -Wno-unused-but-set-variable -Wno-unused-variable
with
!win32 {
!greaterThan(QT_MAJOR_VERSION, 4):QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -Wno-unused-but-set-variable -Wno-unused-variable
}
win32-g++* {
!greaterThan(QT_MAJOR_VERSION, 4):QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -Wno-unused-but-set-variable -Wno-unused-variable
# tested with MXE (https://github.com/mxe/mxe)
!contains(QMAKE_HOST.arch, x86_64):QMAKE_LFLAGS += -Wl,--large-address-aware
}
win32-msvc* {
QMAKE_CXXFLAGS += /bigobj # allow big objects
!contains(QMAKE_HOST.arch, x86_64):QMAKE_LFLAGS += /LARGEADDRESSAWARE
QMAKE_CFLAGS_RELEASE += -WX
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -WX
# for Windows XP compatibility
contains(QMAKE_HOST.arch, x86_64) {
#message(Going for Windows XP 64bit compatibility)
#QMAKE_LFLAGS += /SUBSYSTEM:WINDOWS,5.02 # Windows XP 64bit
} else {
message(Going for Windows XP 32bit compatibility)
QMAKE_LFLAGS += /SUBSYSTEM:WINDOWS,5.01 # Windows XP 32bit
}
}
should fix it. (mainly copying code from the normal pro file :))
I've updated the .pro files. I've also moved the "nogui" stuff to the branch experimental/nogui to not confuse anyone. By the way, can you provide msvc and OSX builds for the 1.4.3.9 release (I don't know how to build for these targets)?
busy the next few days, but I'll look into it over the weekend :)
win32, win64 and mac compile: https://dropfile.to/GnkoHMs didn't include the msvc runtimes
Thanks.
The win64 build is missing platforms/qwindows.dll
didn't add it since it didn't complain about it missing,.. -> here's the qwindows.dll: https://dropfile.to/D0Xc9Fs
Now it's working. Thanks.
a. trying to compile the source I get:
changing:
QMAKE_CXXFLAGS += -std=c++11 -Wno-unused-but-set-variable -Wno-unused-variable
tomakes it work again when using msvc instead of gcc
b. running qmake (Qt 5.8.0) I get:
might be a good idea for the future