mirror of
				https://github.com/YACReader/yacreader
				synced 2025-11-03 16:54:39 -05:00 
			
		
		
		
	Fix the include paths for prebuilt pdfium
This commit is contained in:
		@ -51,6 +51,6 @@ cp README.txt "${dest}/"
 | 
			
		||||
echo "Creating dmg package"
 | 
			
		||||
#tar -czf "${dest}".tar.gz "${dest}"
 | 
			
		||||
#hdiutil create "${dest}".dmg -srcfolder "./${dest}" -ov
 | 
			
		||||
dependencies/create-dmg/create-dmg --volname 'YACReader '$VERSION' Installer' --volicon icon.icns --window-size 600 403 --icon-size 128 --app-drop-link 485 90 --background background.png --icon YACReader 80 90 --icon YACReaderLibrary 235 90 --eula COPYING.txt --icon YACReaderLibraryServer 470 295 --icon README.txt 120 295 --icon COPYING.txt 290 295 "${dest}.dmg" "${dest}"
 | 
			
		||||
./dependencies/create-dmg/create-dmg --volname "YACReader $VERSION Installer" --volicon icon.icns --window-size 600 403 --icon-size 128 --app-drop-link 485 90 --background background.png --icon YACReader 80 90 --icon YACReaderLibrary 235 90 --eula COPYING.txt --icon YACReaderLibraryServer 470 295 --icon README.txt 120 295 --icon COPYING.txt 290 295 "$dest.dmg" "$dest"
 | 
			
		||||
 | 
			
		||||
echo "Done!"
 | 
			
		||||
 | 
			
		||||
@ -42,5 +42,5 @@ unix:!macx:!CONFIG(poppler):!CONFIG(pdfium) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
macx:!CONFIG(pdfkit):!CONFIG(pdfium) {
 | 
			
		||||
	CONFIG += pdfkit
 | 
			
		||||
}
 | 
			
		||||
	CONFIG += pdfium
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										8
									
								
								dependencies/pdf_backend.pri
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								dependencies/pdf_backend.pri
									
									
									
									
										vendored
									
									
								
							@ -8,15 +8,15 @@ CONFIG(pdfium) {
 | 
			
		||||
	win32 {
 | 
			
		||||
		INCLUDEPATH += ../dependencies/pdfium/win/public
 | 
			
		||||
		contains(QMAKE_TARGET.arch, x86_64): {
 | 
			
		||||
			LIBS += -L$$PWD/../dependencies/pdfium/win/x64 -lpdfium
 | 
			
		||||
			LIBS += -L$$PWD/pdfium/win/x64 -lpdfium
 | 
			
		||||
		} else {
 | 
			
		||||
			LIBS += -L$$PWD/../dependencies/pdfium/win/x86 -lpdfium
 | 
			
		||||
			LIBS += -L$$PWD/pdfium/win/x86 -lpdfium
 | 
			
		||||
	    	}
 | 
			
		||||
	}
 | 
			
		||||
		unix {
 | 
			
		||||
			macx {
 | 
			
		||||
				LIBS += -L$$PWD/../dependencies/pdfium/macx/bin -lpdfium
 | 
			
		||||
				INCLUDEPATH += $$PWD/../dependencies/pdfium/macx/public
 | 
			
		||||
				LIBS += -L$$PWD/pdfium/macx/bin -lpdfium
 | 
			
		||||
					INCLUDEPATH += $$PWD/pdfium/macx/include
 | 
			
		||||
			} 
 | 
			
		||||
			!macx {
 | 
			
		||||
				INCLUDEPATH += /usr/include/pdfium
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user