Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

windows tweaks

Don't have a native sed program. There is one in msys just need to
figure out how to use it with QT creator. Same with git.
  • Loading branch information...
commit 97a0782bff3e3be2b36e59a23a424dede2f8a683 1 parent d09b49f
@cpackham authored
Showing with 6 additions and 0 deletions.
  1. +2 −0  main.cpp
  2. +4 −0 version.mk
View
2  main.cpp
@@ -11,6 +11,7 @@ int main(int argc, char *argv[])
unsigned int line = 1;
#ifndef DEBUG
+#ifndef Q_WS_WIN
pid_t pid = fork();
if (pid > 0) {
@@ -19,6 +20,7 @@ int main(int argc, char *argv[])
perror ("Error forking");
}
#endif
+#endif
// Let Qt have first dibs on the command line arguments
QApplication app(argc, argv);
View
4 version.mk
@@ -15,5 +15,9 @@ version.input = VERSION_CPP_IN
version.CONFIG += no_link
version.variable_out = SOURCES
+win32{
+ version.commands = copy ${QMAKE_FILE_NAME} ${QMAKE_FILE_OUT}
+}
+
QMAKE_EXTRA_COMPILERS += version
Please sign in to comment.
Something went wrong with that request. Please try again.