Thanks for the clarification. It's a little how I thought (or at least wished for) it to be.
You're missing one important point though. The defines can be defined globally in the make file. They don't have to be added or changed in any headers.
#############################################################################
# Makefile for building: simpledommodel
# Generated by qmake (2.01a) (Qt 4.6.1) on: Sat Feb 6 08:44:32 2010
# Project: simpledommodel.pro
# Template: app
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
DEFINES = -D QT_NO_TREEVIEW -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
...
#############################################################################
# Makefile for building: simpledommodel
# Generated by qmake (2.01a) (Qt 4.6.1) on: Sat Feb 6 08:44:32 2010
# Project: simpledommodel.pro
# Template: app
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
DEFINES = -D QT_NO_TREEVIEW -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
...
To copy to clipboard, switch view to plain text mode
Meaning all I will really be doing is changing the compile parameters. So going by what you said, it's fine as long as I provide the exact steps I took to compile it in a Readme.txt (and indeed, if people use the original binaries it should still work anyways).
My configure.cache contains:
-debug-and-release
-confirm-license
-plugin-sql-sqlite
-plugin-sql-odbc
-qt-libpng
-qt-libjpeg
-openssl
-opensource
-no-incredibuild-xge
-dont-process
-debug-and-release
-confirm-license
-plugin-sql-sqlite
-plugin-sql-odbc
-qt-libpng
-qt-libjpeg
-openssl
-opensource
-no-incredibuild-xge
-dont-process
To copy to clipboard, switch view to plain text mode
And in my case I don't think that would change. Ahh unless I removed some of those too...
Thanks.
Bookmarks