mirror of
				https://gitlab.com/Syping/luaengineapp.git
				synced 2025-10-31 02:20:20 +01:00 
			
		
		
		
	fix for static build
This commit is contained in:
		
							parent
							
								
									d8c75c11a2
								
							
						
					
					
						commit
						74d0e57ce0
					
				
					 4 changed files with 10 additions and 0 deletions
				
			
		|  | @ -20,10 +20,14 @@ | |||
| 
 | ||||
| #include <QtCore/qglobal.h> | ||||
| 
 | ||||
| #ifndef LUAENGINEGUI_STATIC | ||||
| #ifdef LUAENGINEGUI_LIBRARY | ||||
| #define LUAENGINEGUISHARED_EXPORT Q_DECL_EXPORT | ||||
| #else | ||||
| #define LUAENGINEGUISHARED_EXPORT Q_DECL_IMPORT | ||||
| #endif | ||||
| #else | ||||
| #define LUAENGINEGUISHARED_EXPORT | ||||
| #endif | ||||
| 
 | ||||
| #endif // LUAENGINEGUI_GLOBAL_H
 | ||||
|  |  | |||
|  | @ -22,6 +22,7 @@ TARGET = luaenginegui | |||
| TEMPLATE = lib | ||||
| 
 | ||||
| DEFINES += LUAENGINEGUI_LIBRARY | ||||
| static: DEFINES += LUAENGINEGUI_STATIC | ||||
| 
 | ||||
| CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengine/debug -lluaengine | ||||
| CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengine/release -lluaengine | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue