Permalink
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...
1 parent d09b49f commit 97a0782bff3e3be2b36e59a23a424dede2f8a683 @cpackham committed Jan 26, 2010
Showing with 6 additions and 0 deletions.
  1. +2 −0 main.cpp
  2. +4 −0 version.mk
View
@@ -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
@@ -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

0 comments on commit 97a0782

Please sign in to comment.