mirror of
				https://github.com/fralx/LimeReport.git
				synced 2025-10-31 21:31:21 +03:00 
			
		
		
		
	Finish 1.7.18
This commit is contained in:
		
							
								
								
									
										3
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										3
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
								
							| @@ -1,4 +1,7 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||||
| <project version="4"> | <project version="4"> | ||||||
|  |   <component name="CMakePythonSetting"> | ||||||
|  |     <option name="pythonIntegrationState" value="YES" /> | ||||||
|  |   </component> | ||||||
|   <component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" /> |   <component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" /> | ||||||
| </project> | </project> | ||||||
							
								
								
									
										1
									
								
								.idea/vcs.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1
									
								
								.idea/vcs.xml
									
									
									
										generated
									
									
									
								
							| @@ -2,6 +2,5 @@ | |||||||
| <project version="4"> | <project version="4"> | ||||||
|   <component name="VcsDirectoryMappings"> |   <component name="VcsDirectoryMappings"> | ||||||
|     <mapping directory="$PROJECT_DIR$" vcs="Git" /> |     <mapping directory="$PROJECT_DIR$" vcs="Git" /> | ||||||
|     <mapping directory="$PROJECT_DIR$/3rdparty/qtxlsx" vcs="Git" /> |  | ||||||
|   </component> |   </component> | ||||||
| </project> | </project> | ||||||
| @@ -221,11 +221,19 @@ system("git --version") { | |||||||
| } | } | ||||||
|  |  | ||||||
| VERSION_TEMPLATE = $$PWD/version.h.in | VERSION_TEMPLATE = $$PWD/version.h.in | ||||||
|  | VERSION_OUTPUT = $$OUT_PWD/version.h | ||||||
|  |  | ||||||
|  | defineReplace(generateHeader){ | ||||||
|  |     VERSION_TEMPLATE = $$1 | ||||||
|  |     OUTPUT_FILE = $$2 | ||||||
|  |     LINES = $$cat($$VERSION_TEMPLATE, lines) | ||||||
|  |     LINES = $$replace(LINES, @GIT_VERSION@, $$LR_VERSION) | ||||||
|  |     system(echo '// Auto generated version header' > $$OUTPUT_FILE) | ||||||
|  |     for (a, LINES): system(echo '$${a}' >> $$OUTPUT_FILE) | ||||||
|  | } | ||||||
|  |  | ||||||
| generateversion.depends = FORCE | generateversion.depends = FORCE | ||||||
| generateversion.input = VERSION_TEMPLATE | generateversion.commands = $$generateHeader($$VERSION_TEMPLATE, $$VERSION_OUTPUT) | ||||||
| generateversion.output = $$OUT_PWD/version.h |  | ||||||
| generateversion.commands = $$QMAKE_STREAM_EDITOR \'s/@GIT_VERSION@/$$LR_VERSION/\' ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT} |  | ||||||
| generateversion.CONFIG = no_link target_predeps | generateversion.CONFIG = no_link target_predeps | ||||||
|  |  | ||||||
| QMAKE_EXTRA_COMPILERS += generateversion | QMAKE_EXTRA_COMPILERS += generateversion | ||||||
|   | |||||||
| @@ -35,6 +35,12 @@ CONFIG(staticlib) { | |||||||
|     DEFINES -= LIMEREPORT_EXPORTS |     DEFINES -= LIMEREPORT_EXPORTS | ||||||
| } | } | ||||||
|  |  | ||||||
|  | contains(CONFIG, x86_64) { | ||||||
|  |     message(Цель: 64 бита) | ||||||
|  | } else { | ||||||
|  |     message(Цель: 32 бита) | ||||||
|  | } | ||||||
|  |  | ||||||
| EXTRA_FILES += \ | EXTRA_FILES += \ | ||||||
|     $$PWD/lrglobal.h \ |     $$PWD/lrglobal.h \ | ||||||
|     $$PWD/lrdatasourceintf.h \ |     $$PWD/lrdatasourceintf.h \ | ||||||
|   | |||||||
| @@ -25,8 +25,8 @@ QModelIndex CompleterModel::index(int row, int column, const QModelIndex& parent | |||||||
| QModelIndex CompleterModel::parent(const QModelIndex& child) const | QModelIndex CompleterModel::parent(const QModelIndex& child) const | ||||||
| { | { | ||||||
|     if (child.isValid()) { |     if (child.isValid()) { | ||||||
|         if (CompleterItem* childItem = static_cast<CompleterItem*>(child.internalPointer()); |         CompleterItem* childItem = static_cast<CompleterItem*>(child.internalPointer()); | ||||||
|             childItem) { |         if (childItem) { | ||||||
|             CompleterItem* parentItem = childItem->parent(); |             CompleterItem* parentItem = childItem->parent(); | ||||||
|             if (parentItem != &m_root) { |             if (parentItem != &m_root) { | ||||||
|                 return indexFromItem(parentItem); |                 return indexFromItem(parentItem); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user