fixed project file to use qapng and discord rpc correctly
This commit is contained in:
		
							parent
							
								
									2c5ef116eb
								
							
						
					
					
						commit
						021d89c065
					
				@ -5,7 +5,6 @@
 | 
				
			|||||||
#-------------------------------------------------
 | 
					#-------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
QT       += core gui multimedia network
 | 
					QT       += core gui multimedia network
 | 
				
			||||||
QTPLUGIN += qapng
 | 
					 | 
				
			||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
 | 
					greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RC_ICONS = logo.ico
 | 
					RC_ICONS = logo.ico
 | 
				
			||||||
@ -88,7 +87,7 @@ HEADERS  += lobby.h \
 | 
				
			|||||||
#    in the same way as BASS. Discord RPC uses CMake, which does not play nicely with
 | 
					#    in the same way as BASS. Discord RPC uses CMake, which does not play nicely with
 | 
				
			||||||
#    QMake, so this step must be manual.
 | 
					#    QMake, so this step must be manual.
 | 
				
			||||||
unix:LIBS += -L$$PWD -lbass -ldiscord-rpc
 | 
					unix:LIBS += -L$$PWD -lbass -ldiscord-rpc
 | 
				
			||||||
win32:LIBS += -L$$PWD "$$PWD/bass.dll" -L$$PWD "$$PWD/discord-rpc.dll" -lpng -lqapng -lz
 | 
					win32:LIBS += -L$$PWD "$$PWD/bass.dll" -ldiscord-rpc -L$$PWD
 | 
				
			||||||
android:LIBS += -L$$PWD\android\libs\armeabi-v7a\ -lbass
 | 
					android:LIBS += -L$$PWD\android\libs\armeabi-v7a\ -lbass
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CONFIG += c++11
 | 
					CONFIG += c++11
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user