bin/CMakeLists.txt
author koda
Sun, 19 Jun 2011 12:34:54 +0200
changeset 5257 0bbdd47522b9
parent 4501 53ac7d07e673
child 7810 da60e6b6baa3
permissions -rw-r--r--
passing by reference... my darkest enemy actual reason below: In your case (without reference) the compiler generates a temporary object (int) for the first argument of your MyApplication constructor. You pass this temporary int to QApplication’s constructor (with int reference), which saves the address of this reference. Once your MyApplication constructor is done the temporary int is destroyed but QApplication still has its address.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
223
c41effdd461d Better build system scripts
unc0rr
parents:
diff changeset
     1
if(WIN32 AND NOT UNIX)
1044
f759aae1062f Install all dlls from bin folder
unc0rr
parents: 223
diff changeset
     2
	file(GLOB DLLs *.dll)
4501
53ac7d07e673 Frontend:
smaxx
parents: 1044
diff changeset
     3
	file(GLOB ICOs *.ico)
1044
f759aae1062f Install all dlls from bin folder
unc0rr
parents: 223
diff changeset
     4
	
223
c41effdd461d Better build system scripts
unc0rr
parents:
diff changeset
     5
	install(FILES
1044
f759aae1062f Install all dlls from bin folder
unc0rr
parents: 223
diff changeset
     6
		${DLLs}
4501
53ac7d07e673 Frontend:
smaxx
parents: 1044
diff changeset
     7
		${ICOs}
223
c41effdd461d Better build system scripts
unc0rr
parents:
diff changeset
     8
		DESTINATION bin)
c41effdd461d Better build system scripts
unc0rr
parents:
diff changeset
     9
endif(WIN32 AND NOT UNIX)