removed qmake leftovers. Only cmake is used for the future. Reorganized the technical docu, for better gitea-pages integration.
This commit is contained in:
@@ -733,7 +733,8 @@ WARN_LOGFILE =
|
|||||||
# spaces.
|
# spaces.
|
||||||
# Note: If this tag is empty the current directory is searched.
|
# Note: If this tag is empty the current directory is searched.
|
||||||
|
|
||||||
INPUT =../src/musredit_qt5/mupp \
|
INPUT = ./ \
|
||||||
|
../src/musredit_qt5/mupp \
|
||||||
../src/musredit_qt5/mupp/var/include \
|
../src/musredit_qt5/mupp/var/include \
|
||||||
../src/musredit_qt5/mupp/var/src
|
../src/musredit_qt5/mupp/var/src
|
||||||
|
|
||||||
@@ -755,7 +756,7 @@ INPUT_ENCODING = UTF-8
|
|||||||
# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
|
# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
|
||||||
# *.qsf, *.as and *.js.
|
# *.qsf, *.as and *.js.
|
||||||
|
|
||||||
FILE_PATTERNS = *.dox *.cpp *.h *.hpp
|
FILE_PATTERNS = mupp.dox *.cpp *.h *.hpp
|
||||||
|
|
||||||
# The RECURSIVE tag can be used to specify whether or not subdirectories should
|
# The RECURSIVE tag can be used to specify whether or not subdirectories should
|
||||||
# be searched for input files as well.
|
# be searched for input files as well.
|
||||||
@@ -1532,7 +1533,7 @@ EXTRA_SEARCH_MAPPINGS =
|
|||||||
# If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output.
|
# If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output.
|
||||||
# The default value is: YES.
|
# The default value is: YES.
|
||||||
|
|
||||||
GENERATE_LATEX = YES
|
GENERATE_LATEX = NO
|
||||||
|
|
||||||
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
|
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
|
||||||
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
|
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
|
||||||
@@ -32,13 +32,13 @@ DOXYFILE_ENCODING = UTF-8
|
|||||||
# title of most generated pages and in a few other places.
|
# title of most generated pages and in a few other places.
|
||||||
# The default value is: My Project.
|
# The default value is: My Project.
|
||||||
|
|
||||||
PROJECT_NAME = "musredit"
|
PROJECT_NAME = "mupp"
|
||||||
|
|
||||||
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
|
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
|
||||||
# could be handy for archiving the generated documentation or if some version
|
# could be handy for archiving the generated documentation or if some version
|
||||||
# control system is used.
|
# control system is used.
|
||||||
|
|
||||||
PROJECT_NUMBER = 1.0.0
|
PROJECT_NUMBER = 1.1.0
|
||||||
|
|
||||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
||||||
# for a project that appears at the top of each page and should give viewer a
|
# for a project that appears at the top of each page and should give viewer a
|
||||||
@@ -58,7 +58,7 @@ PROJECT_LOGO =
|
|||||||
# entered, it will be relative to the location where doxygen was started. If
|
# entered, it will be relative to the location where doxygen was started. If
|
||||||
# left blank the current directory will be used.
|
# left blank the current directory will be used.
|
||||||
|
|
||||||
OUTPUT_DIRECTORY = ./technical/html/musredit
|
OUTPUT_DIRECTORY = ./technical/html/mupp
|
||||||
|
|
||||||
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
|
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
|
||||||
# directories (in 2 levels) under the output directory of each output format and
|
# directories (in 2 levels) under the output directory of each output format and
|
||||||
@@ -733,7 +733,10 @@ WARN_LOGFILE =
|
|||||||
# spaces.
|
# spaces.
|
||||||
# Note: If this tag is empty the current directory is searched.
|
# Note: If this tag is empty the current directory is searched.
|
||||||
|
|
||||||
INPUT =../src/musredit_qt5/musredit
|
INPUT = ./ \
|
||||||
|
../src/musredit_qt6/mupp \
|
||||||
|
../src/musredit_qt6/mupp/var/include \
|
||||||
|
../src/musredit_qt6/mupp/var/src
|
||||||
|
|
||||||
# This tag can be used to specify the character encoding of the source files
|
# This tag can be used to specify the character encoding of the source files
|
||||||
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
|
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
|
||||||
@@ -753,7 +756,7 @@ INPUT_ENCODING = UTF-8
|
|||||||
# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
|
# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
|
||||||
# *.qsf, *.as and *.js.
|
# *.qsf, *.as and *.js.
|
||||||
|
|
||||||
FILE_PATTERNS = *.dox *.cpp *.h
|
FILE_PATTERNS = mupp.dox *.cpp *.h *.hpp
|
||||||
|
|
||||||
# The RECURSIVE tag can be used to specify whether or not subdirectories should
|
# The RECURSIVE tag can be used to specify whether or not subdirectories should
|
||||||
# be searched for input files as well.
|
# be searched for input files as well.
|
||||||
@@ -1530,7 +1533,7 @@ EXTRA_SEARCH_MAPPINGS =
|
|||||||
# If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output.
|
# If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output.
|
||||||
# The default value is: YES.
|
# The default value is: YES.
|
||||||
|
|
||||||
GENERATE_LATEX = YES
|
GENERATE_LATEX = NO
|
||||||
|
|
||||||
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
|
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
|
||||||
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
|
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
|
||||||
@@ -1969,7 +1972,7 @@ TAGFILES =
|
|||||||
# tag file that is based on the input files it reads. See section "Linking to
|
# tag file that is based on the input files it reads. See section "Linking to
|
||||||
# external documentation" for more information about the usage of tag files.
|
# external documentation" for more information about the usage of tag files.
|
||||||
|
|
||||||
GENERATE_TAGFILE = dox-tags/musredit.tag
|
GENERATE_TAGFILE = dox-tags/mupp.tag
|
||||||
|
|
||||||
# If the ALLEXTERNALS tag is set to YES all external class will be listed in the
|
# If the ALLEXTERNALS tag is set to YES all external class will be listed in the
|
||||||
# class index. If set to NO only the inherited external classes will be listed.
|
# class index. If set to NO only the inherited external classes will be listed.
|
||||||
2567
doc/musredit_qt5_dox.cfg
Normal file
2567
doc/musredit_qt5_dox.cfg
Normal file
File diff suppressed because it is too large
Load Diff
2567
doc/musredit_qt6_dox.cfg
Normal file
2567
doc/musredit_qt6_dox.cfg
Normal file
File diff suppressed because it is too large
Load Diff
@@ -16,18 +16,18 @@
|
|||||||
|
|
||||||
<p>People merely interested in the handling of the programs should check this link:
|
<p>People merely interested in the handling of the programs should check this link:
|
||||||
\htmlonly
|
\htmlonly
|
||||||
<a href="http://lmu.web.psi.ch/musrfit/user/html/index.html">musrfit user manual</a>
|
<a href="https://lmu.pages.psi.ch/musrfit-docu/">musrfit user manual</a>
|
||||||
\endhtmlonly
|
\endhtmlonly
|
||||||
\latexonly
|
\latexonly
|
||||||
musrfit user manual: \texttt{http://lmu.web.psi.ch/musrfit/user/html/index.html}
|
musrfit user manual: \texttt{https://lmu.pages.psi.ch/musrfit-docu/user-manual.html}
|
||||||
\endlatexonly
|
\endlatexonly
|
||||||
|
|
||||||
<p>People which would like to know how to install the musrfit framework, please check this link:
|
<p>People which would like to know how to install the musrfit framework, please check this link:
|
||||||
\htmlonly
|
\htmlonly
|
||||||
<a href="http://lmu.web.psi.ch/musrfit/user/html/setup-standard.html">How to setup musrfit on different platforms</a>
|
<a href="https://lmu.pages.psi.ch/musrfit-docu/setup-standard.html">How to setup musrfit on different platforms</a>
|
||||||
\endhtmlonly
|
\endhtmlonly
|
||||||
\latexonly
|
\latexonly
|
||||||
How to setup musrfit on different platforms: \texttt{http://lmu.web.psi.ch/musrfit/user/html/setup-standard.html}
|
How to setup musrfit on different platforms: \texttt{https://lmu.pages.psi.ch/musrfit-docu/setup-standard.html}
|
||||||
\endlatexonly
|
\endlatexonly
|
||||||
|
|
||||||
//****************************************************************************************************
|
//****************************************************************************************************
|
||||||
@@ -47,15 +47,13 @@ under Linux, Mac OS X, and (with some more work) under Windows. The musrfit fram
|
|||||||
msr-files with the same parameters and summarize the fitting results either in a TRIUMF DB or a column ASCII file.
|
msr-files with the same parameters and summarize the fitting results either in a TRIUMF DB or a column ASCII file.
|
||||||
- **msr2msr**: old WKM like msr-files can be transformed into musrfit style msr-files with this little program.
|
- **msr2msr**: old WKM like msr-files can be transformed into musrfit style msr-files with this little program.
|
||||||
- musrgui (obsolete): an editor to handle msr-files, calling musrfit, etc. from within the editor, based on Qt3.x.
|
- musrgui (obsolete): an editor to handle msr-files, calling musrfit, etc. from within the editor, based on Qt3.x.
|
||||||
Only bug fixing will be done on this version, and if you have >= Qt4.6 available you should use musredit instead.
|
- **musredit**: an editor to handle msr-files, calling musrfit, etc. from within a simple text editor, based on Qt5.x or Qt6.x. A technical documentation of musredit can be found
|
||||||
- **musredit**: an editor to handle msr-files, calling musrfit, etc. from within a simple text editor, based on >= Qt4.6. A technical documentation of musredit can be found
|
|
||||||
\htmlonly <a href="./musredit/html/index.html">here.</a>\endhtmlonly
|
\htmlonly <a href="./musredit/html/index.html">here.</a>\endhtmlonly
|
||||||
- **musrWiz** (beta): allows to create an initial msr-file by a step-by-step instruction wizard.
|
- **musrWiz** (beta): allows to create an initial msr-file by a step-by-step instruction wizard.
|
||||||
- **musrStep**: allows to efficiently deal with initial step values of msr-files. Especially useful for msr-files dealing with many runs/detectors.
|
- **musrStep**: allows to efficiently deal with initial step values of msr-files. Especially useful for msr-files dealing with many runs/detectors.
|
||||||
- **mupp**: is the muSR parameter plotter. It allows to plot values in db- or dat-files (collections). A technical documentation of mupp can be found
|
- **mupp**: is the muSR parameter plotter. It allows to plot values in db- or dat-files (collections). A technical documentation of mupp can be found
|
||||||
\htmlonly <a href="./mupp/html/index.html">here.</a>\endhtmlonly
|
\htmlonly <a href="./mupp/html/index.html">here.</a>\endhtmlonly
|
||||||
- **MuSRFit**: a graphical user interface based on PerlQt (written by Z. Salman) for an easy to use interface to the musrfit framework.
|
- **addRun**: allows to add runs from the command line
|
||||||
Compared to the more general approach of writing msr-files, it has some limitations, though it might be easier for a first user of the musrfit framework.
|
|
||||||
- **any2many**: should be a "universal" muSR data-file-format converter.
|
- **any2many**: should be a "universal" muSR data-file-format converter.
|
||||||
- **dump_header**: is a small program to dump the header information of a muSR data file to the standard output.
|
- **dump_header**: is a small program to dump the header information of a muSR data file to the standard output.
|
||||||
- **musrRootValidation**: this is a program to validate MusrRoot files.
|
- **musrRootValidation**: this is a program to validate MusrRoot files.
|
||||||
@@ -79,7 +77,11 @@ This two points are somewhat contradictory, and currently it is not clear which
|
|||||||
|
|
||||||
\section bugs How to report bugs
|
\section bugs How to report bugs
|
||||||
|
|
||||||
<p>Bugs, unexpected features, can be reported directly to me: \verbatim andreas.suter@psi.ch, \endverbatim or entered in the bug-tracking tool at
|
<p>Bugs, unexpected features, can be reported directly to me: \verbatim andreas.suter@psi.ch, \endverbatim or entered in the bug-tracking tool at \htmlonly
|
||||||
bitbkucket \verbatim https://bitbucket.org/muonspin/musrfit/issues \endverbatim.
|
<a href="https://bitbucket.org/muonspin/musrfit/issues">bitbucket issue tracker</a>
|
||||||
|
\endhtmlonly
|
||||||
|
\latexonly
|
||||||
|
\verbatim https://bitbucket.org/muonspin/musrfit/issues \endverbatim.
|
||||||
|
\endlatexonly
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,149 +0,0 @@
|
|||||||
TEMPLATE = app
|
|
||||||
TARGET = musredit
|
|
||||||
|
|
||||||
# install path for musredit
|
|
||||||
count( PREFIX, 1 ) {
|
|
||||||
MUSREDIT_INSTALL_PATH = $${PREFIX}/bin
|
|
||||||
}
|
|
||||||
isEmpty( MUSREDIT_INSTALL_PATH ) {
|
|
||||||
MUSR_FIT_PATH = $$(MUSRFITPATH)
|
|
||||||
count( MUSR_FIT_PATH, 1 ) {
|
|
||||||
MUSREDIT_INSTALL_PATH = $$(MUSRFITPATH)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty( MUSREDIT_INSTALL_PATH ) {
|
|
||||||
ROOT_SYS_PATH = $$(ROOTSYS)
|
|
||||||
count( ROOT_SYS_PATH, 1 ) {
|
|
||||||
MUSREDIT_INSTALL_PATH = $$(ROOTSYS)/bin
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty( MUSREDIT_INSTALL_PATH ) {
|
|
||||||
MUSREDIT_INSTALL_PATH = /usr/local/bin
|
|
||||||
}
|
|
||||||
|
|
||||||
unix {
|
|
||||||
message( "Determined installation path: $${MUSREDIT_INSTALL_PATH}" )
|
|
||||||
}
|
|
||||||
|
|
||||||
unix:target.path = $${MUSREDIT_INSTALL_PATH}
|
|
||||||
macx:target.path = /Applications
|
|
||||||
|
|
||||||
win32:target.path = c:/musrfit/bin
|
|
||||||
INSTALLS += target
|
|
||||||
|
|
||||||
# This is only needed for SL5.1
|
|
||||||
exists ( /opt/fontconfig-2.8.0/lib/libfontconfig.so ) {
|
|
||||||
unix:LIBS += -L/opt/fontconfig-2.8.0/lib/ -lfontconfig
|
|
||||||
}
|
|
||||||
|
|
||||||
exists( /usr/bin/cygwin1.dll ) {
|
|
||||||
QMAKE_CXXFLAGS += -D_WIN32GCC
|
|
||||||
QMAKE_LFLAGS_APP = -Wl,--enable-auto-import
|
|
||||||
}
|
|
||||||
|
|
||||||
isEmpty( CC ) {
|
|
||||||
CC = gcc
|
|
||||||
}
|
|
||||||
|
|
||||||
isEmpty( CXX ) {
|
|
||||||
CXX = g++
|
|
||||||
}
|
|
||||||
|
|
||||||
QMAKE_CC = $${CC}
|
|
||||||
QMAKE_CXX = $${CXX}
|
|
||||||
QMAKE_LINK = $${CXX}
|
|
||||||
|
|
||||||
# set proper permission for Mac OSX
|
|
||||||
macx {
|
|
||||||
QMAKE_INSTALL_FILE = install -m 6755 -p -o $$(USER) -g staff
|
|
||||||
QMAKE_INSTALL_PROGRAM = install -m 6755 -p -o root -g admin
|
|
||||||
}
|
|
||||||
|
|
||||||
# install path for the XML configuration file
|
|
||||||
unix:xml.path = $$(HOME)/.musrfit/musredit
|
|
||||||
macx:xml.path = $$(HOME)/.musrfit/musredit
|
|
||||||
win32:xml.path = c:/musrfit/bin
|
|
||||||
|
|
||||||
CONFIG += qt \
|
|
||||||
warn_on \
|
|
||||||
release
|
|
||||||
|
|
||||||
QT += xml
|
|
||||||
QT += webkit
|
|
||||||
QT += network
|
|
||||||
|
|
||||||
INCLUDEPATH += "../include"
|
|
||||||
|
|
||||||
HEADERS = musredit.h \
|
|
||||||
musrfit-info.h \
|
|
||||||
PHelp.h \
|
|
||||||
PTextEdit.h \
|
|
||||||
PSubTextEdit.h \
|
|
||||||
PAdmin.h \
|
|
||||||
PFindDialog.h \
|
|
||||||
PReplaceDialog.h \
|
|
||||||
PReplaceConfirmationDialog.h \
|
|
||||||
PFitOutputHandler.h \
|
|
||||||
PDumpOutputHandler.h \
|
|
||||||
PPrefsDialog.h \
|
|
||||||
PGetMusrFTOptionsDialog.h \
|
|
||||||
PGetDefaultDialog.h \
|
|
||||||
PGetTitleBlockDialog.h \
|
|
||||||
PGetParameterBlockDialog.h \
|
|
||||||
PGetTheoryBlockDialog.h \
|
|
||||||
PGetFunctionsBlockDialog.h \
|
|
||||||
PGetAsymmetryRunBlockDialog.h \
|
|
||||||
PGetSingleHistoRunBlockDialog.h \
|
|
||||||
PGetNonMusrRunBlockDialog.h \
|
|
||||||
PGetFourierBlockDialog.h \
|
|
||||||
PGetPlotBlockDialog.h \
|
|
||||||
PMsr2DataDialog.h \
|
|
||||||
PMusrEditAbout.h \
|
|
||||||
../include/git-revision.h
|
|
||||||
|
|
||||||
SOURCES = PHelp.cpp \
|
|
||||||
PTextEdit.cpp \
|
|
||||||
PSubTextEdit.cpp \
|
|
||||||
PAdmin.cpp \
|
|
||||||
PFindDialog.cpp \
|
|
||||||
PReplaceDialog.cpp \
|
|
||||||
PReplaceConfirmationDialog.cpp \
|
|
||||||
PFitOutputHandler.cpp \
|
|
||||||
PDumpOutputHandler.cpp \
|
|
||||||
PPrefsDialog.cpp \
|
|
||||||
PGetMusrFTOptionsDialog.cpp \
|
|
||||||
PGetDefaultDialog.cpp \
|
|
||||||
PGetTitleBlockDialog.cpp \
|
|
||||||
PGetParameterBlockDialog.cpp \
|
|
||||||
PGetTheoryBlockDialog.cpp \
|
|
||||||
PGetFunctionsBlockDialog.cpp \
|
|
||||||
PGetAsymmetryRunBlockDialog.cpp \
|
|
||||||
PGetSingleHistoRunBlockDialog.cpp \
|
|
||||||
PGetNonMusrRunBlockDialog.cpp \
|
|
||||||
PGetFourierBlockDialog.cpp \
|
|
||||||
PGetPlotBlockDialog.cpp \
|
|
||||||
PMsr2DataDialog.cpp \
|
|
||||||
PMusrEditAbout.cpp \
|
|
||||||
main.cpp
|
|
||||||
|
|
||||||
FORMS = forms/PFindDialog.ui \
|
|
||||||
forms/PReplaceDialog.ui \
|
|
||||||
forms/PReplaceConfirmationDialog.ui \
|
|
||||||
forms/PGetDefaultDialog.ui \
|
|
||||||
forms/PMusrEditAbout.ui \
|
|
||||||
forms/PPrefsDialog.ui \
|
|
||||||
forms/PGetMusrFTOptionsDialog.ui \
|
|
||||||
forms/PGetTitleBlockDialog.ui \
|
|
||||||
forms/PGetParameterBlockDialog.ui \
|
|
||||||
forms/PGetTheoryBlockDialog.ui \
|
|
||||||
forms/PGetFunctionsBlockDialog.ui \
|
|
||||||
forms/PGetAsymmetryRunBlockDialog.ui \
|
|
||||||
forms/PGetSingleHistoRunBlockDialog.ui \
|
|
||||||
forms/PGetNonMusrRunBlockDialog.ui \
|
|
||||||
forms/PGetFourierBlockDialog.ui \
|
|
||||||
forms/PGetPlotBlockDialog.ui \
|
|
||||||
forms/PMsr2DataDialog.ui
|
|
||||||
|
|
||||||
RESOURCES = musredit.qrc
|
|
||||||
|
|
||||||
macx:ICON = images/musredit.icns
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
TEMPLATE = app
|
|
||||||
TARGET = musrStep
|
|
||||||
|
|
||||||
# install path for musrStep via given prefix
|
|
||||||
count( PREFIX, 1 ) {
|
|
||||||
MUSRSTEP_INSTALL_PATH = $${PREFIX}/bin
|
|
||||||
}
|
|
||||||
isEmpty( MUSRSTEP_INSTALL_PATH ) {
|
|
||||||
MUSR_FIT_PATH = $$(MUSRFITPATH)
|
|
||||||
count( MUSR_FIT_PATH, 1) {
|
|
||||||
MUSRSTEP_INSTALL_PATH = $$(MUSRFITPATH)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty( MUSRSTEP_INSTALL_PATH ) {
|
|
||||||
ROOT_SYS_PATH = $$(ROOTSYS)
|
|
||||||
count( ROOT_SYS_PATH, 1) {
|
|
||||||
MUSRSTEP_INSTALL_PATH = $$(ROOTSYS)/bin
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty( MUSRSTEP_INSTALL_PATH ) {
|
|
||||||
MUSRSTEP_INSTALL_PATH = /usr/local/bin
|
|
||||||
}
|
|
||||||
|
|
||||||
exists( /usr/bin/cygwin1.dll ) {
|
|
||||||
QMAKE_CXXFLAGS += -D_WIN32GCC
|
|
||||||
QMAKE_LFLAGS_APP = -Wl,--enable-auto-import
|
|
||||||
}
|
|
||||||
|
|
||||||
isEmpty( CC ) {
|
|
||||||
CC = gcc
|
|
||||||
}
|
|
||||||
|
|
||||||
isEmpty( CXX ) {
|
|
||||||
CXX = g++
|
|
||||||
}
|
|
||||||
|
|
||||||
QMAKE_CC = $${CC}
|
|
||||||
QMAKE_CXX = $${CXX}
|
|
||||||
QMAKE_LINK = $${CXX}
|
|
||||||
|
|
||||||
# set proper permission for Mac OSX
|
|
||||||
macx {
|
|
||||||
QMAKE_INSTALL_FILE = install -m 6755 -p -o $$(USER) -g staff
|
|
||||||
}
|
|
||||||
|
|
||||||
# install path for the application
|
|
||||||
unix {
|
|
||||||
message( "Determined installation path: $${MUSRSTEP_INSTALL_PATH}" )
|
|
||||||
}
|
|
||||||
|
|
||||||
unix:target.path = $${MUSRSTEP_INSTALL_PATH}
|
|
||||||
macx:target.path = /Applications
|
|
||||||
win32:target.path = c:/musrfit/bin
|
|
||||||
|
|
||||||
INSTALLS += target
|
|
||||||
|
|
||||||
CONFIG += qt \
|
|
||||||
warn_on \
|
|
||||||
release \
|
|
||||||
console
|
|
||||||
|
|
||||||
QT += widgets
|
|
||||||
QT += svg
|
|
||||||
|
|
||||||
INCLUDEPATH += "../../include"
|
|
||||||
|
|
||||||
HEADERS = ../../include/git-revision.h \
|
|
||||||
PMusrStep.h
|
|
||||||
|
|
||||||
SOURCES = PMusrStep.cpp \
|
|
||||||
musrStep.cpp
|
|
||||||
|
|
||||||
RESOURCES = musrStep.qrc
|
|
||||||
|
|
||||||
macx:ICON = icons/musrStep.icns
|
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
TEMPLATE = app
|
|
||||||
TARGET = musrWiz
|
|
||||||
|
|
||||||
# install path for musrWiz
|
|
||||||
count( PREFIX, 1 ) {
|
|
||||||
MUSRWIZ_INSTALL_PATH = $${PREFIX}/bin
|
|
||||||
}
|
|
||||||
isEmpty( MUSRWIZ_INSTALL_PATH ) {
|
|
||||||
MUSR_FIT_PATH = $$(MUSRFITPATH)
|
|
||||||
count( MUSR_FIT_PATH, 1 ) {
|
|
||||||
MUSRWIZ_INSTALL_PATH = $$(MUSRFITPATH)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty( MUSRWIZ_INSTALL_PATH ) {
|
|
||||||
ROOT_SYS_PATH = $$(ROOTSYS)
|
|
||||||
count( ROOT_SYS_PATH, 1 ) {
|
|
||||||
MUSRWIZ_INSTALL_PATH = $$(ROOTSYS)/bin
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty( MUSRWIZ_INSTALL_PATH ) {
|
|
||||||
MUSRWIZ_INSTALL_PATH = /usr/local/bin
|
|
||||||
}
|
|
||||||
|
|
||||||
unix {
|
|
||||||
message( "Determined installation path: $${MUSRWIZ_INSTALL_PATH}" )
|
|
||||||
}
|
|
||||||
|
|
||||||
unix:target.path = $${MUSRWIZ_INSTALL_PATH}
|
|
||||||
macx:target.path = /Applications
|
|
||||||
win32:target.path = c:/musrfit/bin
|
|
||||||
|
|
||||||
INSTALLS += target
|
|
||||||
|
|
||||||
CONFIG += qt \
|
|
||||||
warn_on \
|
|
||||||
release
|
|
||||||
|
|
||||||
QT += widgets
|
|
||||||
QT += xml
|
|
||||||
QT += core
|
|
||||||
QT += svg
|
|
||||||
|
|
||||||
# set proper permission for Mac OSX
|
|
||||||
macx {
|
|
||||||
QMAKE_INSTALL_FILE = install -m 6755 -p -o $$(USER) -g staff
|
|
||||||
}
|
|
||||||
|
|
||||||
INCLUDEPATH += "../../include"
|
|
||||||
|
|
||||||
HEADERS = musrWiz.h \
|
|
||||||
PTheoTemplate.h \
|
|
||||||
PMusrfitFunc.h \
|
|
||||||
PInstrumentDef.h \
|
|
||||||
PAdmin.h \
|
|
||||||
PMusrWiz.h
|
|
||||||
|
|
||||||
SOURCES = PTheoTemplate.cpp \
|
|
||||||
PMusrfitFunc.cpp \
|
|
||||||
PInstrumentDef.cpp \
|
|
||||||
PAdmin.cpp \
|
|
||||||
PMusrWiz.cpp \
|
|
||||||
musrWiz.cpp
|
|
||||||
|
|
||||||
RESOURCES = musrWiz.qrc
|
|
||||||
|
|
||||||
macx:ICON = icons/musrWiz.icns
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
TEMPLATE = subdirs
|
|
||||||
|
|
||||||
TARGET = musredit
|
|
||||||
|
|
||||||
SUBDIRS = \
|
|
||||||
musrStep \
|
|
||||||
musrWiz \
|
|
||||||
musredit
|
|
||||||
|
|
||||||
# where to find the sub-projects - give the folders
|
|
||||||
musrStep.subdir = musrStep
|
|
||||||
musrWiz.subdir = musrWiz
|
|
||||||
musredit.subdir = musredit
|
|
||||||
|
|
||||||
# what sub-project depends on others
|
|
||||||
musredit.depends = musrStep musrWiz
|
|
||||||
|
|
||||||
# build the project sequentially as listed in SUBDIRS !
|
|
||||||
CONFIG += ordered
|
|
||||||
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
/*********************************************************************************************
|
|
||||||
|
|
||||||
name: musredit.dox
|
|
||||||
|
|
||||||
created by: Andreas Suter, 2015/10/26
|
|
||||||
|
|
||||||
content: Description of musredit.
|
|
||||||
|
|
||||||
**********************************************************************************************/
|
|
||||||
|
|
||||||
/**
|
|
||||||
|
|
||||||
\mainpage musredit
|
|
||||||
|
|
||||||
<p>musredit is a simple editor based interface to the musrfit programs. It is based on Qt 5.5
|
|
||||||
of The Qt Company (<code>http://www.qt.io</code>).
|
|
||||||
|
|
||||||
<p>musredit is free software liensenced under GPL 2 or later (for detail license informations see
|
|
||||||
<code>http://www.gnu.org/licenses</code>).
|
|
||||||
|
|
||||||
*/
|
|
||||||
@@ -1,182 +0,0 @@
|
|||||||
TEMPLATE = app
|
|
||||||
TARGET = musredit
|
|
||||||
|
|
||||||
packagesExist(Qt5WebEngine) {
|
|
||||||
message("Qt5WebEngine found")
|
|
||||||
DEFINES += HAVE_QT_WEB_ENGINE
|
|
||||||
HAVE_QT_WEB_ENGINE = 1
|
|
||||||
}
|
|
||||||
isEmpty( HAVE_QT_WEB_ENGINE ) {
|
|
||||||
packagesExist(QtWebKit) {
|
|
||||||
message("QtWebKit found")
|
|
||||||
DEFINES += HAVE_QT_WEB_KIT
|
|
||||||
HAVE_QT_WEB_ENGINE = 0
|
|
||||||
}
|
|
||||||
# Mac calls it Qt5WebKit, hence
|
|
||||||
packagesExist(Qt5WebKit) {
|
|
||||||
message("Qt5WebKit found")
|
|
||||||
DEFINES += HAVE_QT_WEB_KIT
|
|
||||||
HAVE_QT_WEB_ENGINE = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty(HAVE_QT_WEB_ENGINE) {
|
|
||||||
message("Neither Qt(5)WebKit nor Qt5WebEngine found. Something is wrong, please check")
|
|
||||||
}
|
|
||||||
|
|
||||||
QMAKE_CXXFLAGS += -std=c++11
|
|
||||||
|
|
||||||
# install path for musredit
|
|
||||||
count( PREFIX, 1 ) {
|
|
||||||
MUSREDIT_INSTALL_PATH = $${PREFIX}/bin
|
|
||||||
}
|
|
||||||
isEmpty( MUSREDIT_INSTALL_PATH ) {
|
|
||||||
MUSR_FIT_PATH = $$(MUSRFITPATH)
|
|
||||||
count( MUSR_FIT_PATH, 1 ) {
|
|
||||||
MUSREDIT_INSTALL_PATH = $$(MUSRFITPATH)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty( MUSREDIT_INSTALL_PATH ) {
|
|
||||||
ROOT_SYS_PATH = $$(ROOTSYS)
|
|
||||||
count( ROOT_SYS_PATH, 1 ) {
|
|
||||||
MUSREDIT_INSTALL_PATH = $$(ROOTSYS)/bin
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty( MUSREDIT_INSTALL_PATH ) {
|
|
||||||
MUSREDIT_INSTALL_PATH = /usr/local/bin
|
|
||||||
}
|
|
||||||
|
|
||||||
unix {
|
|
||||||
message( "Determined installation path: $${MUSREDIT_INSTALL_PATH}" )
|
|
||||||
}
|
|
||||||
|
|
||||||
unix:target.path = $${MUSREDIT_INSTALL_PATH}
|
|
||||||
macx:target.path = /Applications
|
|
||||||
win32:target.path = c:/musrfit/bin
|
|
||||||
|
|
||||||
INSTALLS += target
|
|
||||||
|
|
||||||
# This is only needed for SL5.1
|
|
||||||
exists ( /opt/fontconfig-2.8.0/lib/libfontconfig.so ) {
|
|
||||||
unix:LIBS += -L/opt/fontconfig-2.8.0/lib/ -lfontconfig
|
|
||||||
}
|
|
||||||
|
|
||||||
exists( /usr/bin/cygwin1.dll ) {
|
|
||||||
QMAKE_CXXFLAGS += -D_WIN32GCC
|
|
||||||
QMAKE_LFLAGS_APP = -Wl,--enable-auto-import
|
|
||||||
}
|
|
||||||
|
|
||||||
isEmpty( CC ) {
|
|
||||||
CC = gcc
|
|
||||||
}
|
|
||||||
|
|
||||||
isEmpty( CXX ) {
|
|
||||||
CXX = g++
|
|
||||||
}
|
|
||||||
|
|
||||||
QMAKE_CC = $${CC}
|
|
||||||
QMAKE_CXX = $${CXX}
|
|
||||||
QMAKE_LINK = $${CXX}
|
|
||||||
|
|
||||||
# set proper permission for Mac OSX
|
|
||||||
macx {
|
|
||||||
QMAKE_INSTALL_FILE = install -m 6755 -p -o $$(USER) -g staff
|
|
||||||
}
|
|
||||||
|
|
||||||
# install path for the XML configuration file
|
|
||||||
unix:xml.path = $$(HOME)/.musrfit/musredit
|
|
||||||
macx:xml.path = $$(HOME)/.musrfit/musredit
|
|
||||||
win32:xml.path = c:/musrfit/bin
|
|
||||||
|
|
||||||
CONFIG += qt \
|
|
||||||
warn_on \
|
|
||||||
release
|
|
||||||
|
|
||||||
QT += widgets
|
|
||||||
QT += xml
|
|
||||||
isEqual(HAVE_QT_WEB_ENGINE, 0) {
|
|
||||||
QT += webkitwidgets
|
|
||||||
}
|
|
||||||
isEqual(HAVE_QT_WEB_ENGINE, 1) {
|
|
||||||
QT += webenginewidgets
|
|
||||||
}
|
|
||||||
QT += network
|
|
||||||
QT += printsupport
|
|
||||||
QT += svg
|
|
||||||
|
|
||||||
INCLUDEPATH += "../"
|
|
||||||
INCLUDEPATH += "../../include"
|
|
||||||
|
|
||||||
HEADERS = musredit.h \
|
|
||||||
../musrfit-info.h \
|
|
||||||
PHelp.h \
|
|
||||||
PTextEdit.h \
|
|
||||||
PSubTextEdit.h \
|
|
||||||
PAdmin.h \
|
|
||||||
PFindDialog.h \
|
|
||||||
PReplaceDialog.h \
|
|
||||||
PReplaceConfirmationDialog.h \
|
|
||||||
PFitOutputHandler.h \
|
|
||||||
PDumpOutputHandler.h \
|
|
||||||
PPrefsDialog.h \
|
|
||||||
PGetMusrFTOptionsDialog.h \
|
|
||||||
PGetTitleBlockDialog.h \
|
|
||||||
PGetParameterBlockDialog.h \
|
|
||||||
PGetTheoryBlockDialog.h \
|
|
||||||
PGetFunctionsBlockDialog.h \
|
|
||||||
PGetAsymmetryRunBlockDialog.h \
|
|
||||||
PGetSingleHistoRunBlockDialog.h \
|
|
||||||
PGetNonMusrRunBlockDialog.h \
|
|
||||||
PGetFourierBlockDialog.h \
|
|
||||||
PGetPlotBlockDialog.h \
|
|
||||||
PMsr2DataDialog.h \
|
|
||||||
PChangeDefaultPathsDialog.h \
|
|
||||||
PMusrEditAbout.h \
|
|
||||||
../../include/git-revision.h
|
|
||||||
|
|
||||||
SOURCES = PHelp.cpp \
|
|
||||||
PTextEdit.cpp \
|
|
||||||
PSubTextEdit.cpp \
|
|
||||||
PAdmin.cpp \
|
|
||||||
PFindDialog.cpp \
|
|
||||||
PReplaceDialog.cpp \
|
|
||||||
PReplaceConfirmationDialog.cpp \
|
|
||||||
PFitOutputHandler.cpp \
|
|
||||||
PDumpOutputHandler.cpp \
|
|
||||||
PPrefsDialog.cpp \
|
|
||||||
PGetMusrFTOptionsDialog.cpp \
|
|
||||||
PGetTitleBlockDialog.cpp \
|
|
||||||
PGetParameterBlockDialog.cpp \
|
|
||||||
PGetTheoryBlockDialog.cpp \
|
|
||||||
PGetFunctionsBlockDialog.cpp \
|
|
||||||
PGetAsymmetryRunBlockDialog.cpp \
|
|
||||||
PGetSingleHistoRunBlockDialog.cpp \
|
|
||||||
PGetNonMusrRunBlockDialog.cpp \
|
|
||||||
PGetFourierBlockDialog.cpp \
|
|
||||||
PGetPlotBlockDialog.cpp \
|
|
||||||
PMsr2DataDialog.cpp \
|
|
||||||
PChangeDefaultPathsDialog.cpp \
|
|
||||||
PMusrEditAbout.cpp \
|
|
||||||
main.cpp
|
|
||||||
|
|
||||||
FORMS = forms/PFindDialog.ui \
|
|
||||||
forms/PReplaceDialog.ui \
|
|
||||||
forms/PReplaceConfirmationDialog.ui \
|
|
||||||
forms/PMusrEditAbout.ui \
|
|
||||||
forms/PPrefsDialog.ui \
|
|
||||||
forms/PGetMusrFTOptionsDialog.ui \
|
|
||||||
forms/PGetTitleBlockDialog.ui \
|
|
||||||
forms/PGetParameterBlockDialog.ui \
|
|
||||||
forms/PGetTheoryBlockDialog.ui \
|
|
||||||
forms/PGetFunctionsBlockDialog.ui \
|
|
||||||
forms/PGetAsymmetryRunBlockDialog.ui \
|
|
||||||
forms/PGetSingleHistoRunBlockDialog.ui \
|
|
||||||
forms/PGetNonMusrRunBlockDialog.ui \
|
|
||||||
forms/PGetFourierBlockDialog.ui \
|
|
||||||
forms/PGetPlotBlockDialog.ui \
|
|
||||||
forms/PMsr2DataDialog.ui \
|
|
||||||
forms/PChangeDefaultPathsDialog.ui
|
|
||||||
|
|
||||||
RESOURCES = musredit.qrc
|
|
||||||
|
|
||||||
macx:ICON = icons/musredit.icns
|
|
||||||
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
/*********************************************************************************************
|
|
||||||
|
|
||||||
name: mupp.dox
|
|
||||||
|
|
||||||
created by: Andreas Suter, 2020/05/19
|
|
||||||
|
|
||||||
content: Description of mupp
|
|
||||||
|
|
||||||
**********************************************************************************************/
|
|
||||||
|
|
||||||
/**
|
|
||||||
|
|
||||||
\mainpage mupp - muon parameter plotter
|
|
||||||
|
|
||||||
<p>mupp allows to quickly plot parameters found in db-/dat-files. db-/dat-files are typically generated by msr2data from msr-files after fitting. A db-/dat-file is a collection of fitting parameters from a collection of muSR measurements. For instance a db-/dat-file collects a full temperature scan, a field scan, an energy scan, etc.
|
|
||||||
|
|
||||||
<p>mupp allows to load these collections, select parameters in a x/y fashion and allows to plot it. It furthermore allows to create new variables which are mathematical transformations of the parameter vectors of a collection.
|
|
||||||
|
|
||||||
*/
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
TEMPLATE = app
|
|
||||||
TARGET = musrStep
|
|
||||||
|
|
||||||
# install path for musrStep via given prefix
|
|
||||||
count( PREFIX, 1 ) {
|
|
||||||
MUSRSTEP_INSTALL_PATH = $${PREFIX}/bin
|
|
||||||
}
|
|
||||||
isEmpty( MUSRSTEP_INSTALL_PATH ) {
|
|
||||||
MUSR_FIT_PATH = $$(MUSRFITPATH)
|
|
||||||
count( MUSR_FIT_PATH, 1) {
|
|
||||||
MUSRSTEP_INSTALL_PATH = $$(MUSRFITPATH)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty( MUSRSTEP_INSTALL_PATH ) {
|
|
||||||
ROOT_SYS_PATH = $$(ROOTSYS)
|
|
||||||
count( ROOT_SYS_PATH, 1) {
|
|
||||||
MUSRSTEP_INSTALL_PATH = $$(ROOTSYS)/bin
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty( MUSRSTEP_INSTALL_PATH ) {
|
|
||||||
MUSRSTEP_INSTALL_PATH = /usr/local/bin
|
|
||||||
}
|
|
||||||
|
|
||||||
exists( /usr/bin/cygwin1.dll ) {
|
|
||||||
QMAKE_CXXFLAGS += -D_WIN32GCC
|
|
||||||
QMAKE_LFLAGS_APP = -Wl,--enable-auto-import
|
|
||||||
}
|
|
||||||
|
|
||||||
isEmpty( CC ) {
|
|
||||||
CC = gcc
|
|
||||||
}
|
|
||||||
|
|
||||||
isEmpty( CXX ) {
|
|
||||||
CXX = g++
|
|
||||||
}
|
|
||||||
|
|
||||||
QMAKE_CC = $${CC}
|
|
||||||
QMAKE_CXX = $${CXX}
|
|
||||||
QMAKE_LINK = $${CXX}
|
|
||||||
|
|
||||||
# set proper permission for Mac OSX
|
|
||||||
macx {
|
|
||||||
QMAKE_INSTALL_FILE = install -m 6755 -p -o $$(USER) -g staff
|
|
||||||
}
|
|
||||||
|
|
||||||
# install path for the application
|
|
||||||
unix {
|
|
||||||
message( "Determined installation path: $${MUSRSTEP_INSTALL_PATH}" )
|
|
||||||
}
|
|
||||||
|
|
||||||
unix:target.path = $${MUSRSTEP_INSTALL_PATH}
|
|
||||||
macx:target.path = /Applications
|
|
||||||
win32:target.path = c:/musrfit/bin
|
|
||||||
|
|
||||||
INSTALLS += target
|
|
||||||
|
|
||||||
CONFIG += qt \
|
|
||||||
warn_on \
|
|
||||||
release \
|
|
||||||
console
|
|
||||||
|
|
||||||
QT += widgets
|
|
||||||
QT += svg
|
|
||||||
|
|
||||||
INCLUDEPATH += "../../include"
|
|
||||||
|
|
||||||
HEADERS = ../../include/git-revision.h \
|
|
||||||
PMusrStep.h
|
|
||||||
|
|
||||||
SOURCES = PMusrStep.cpp \
|
|
||||||
musrStep.cpp
|
|
||||||
|
|
||||||
RESOURCES = musrStep.qrc
|
|
||||||
|
|
||||||
macx:ICON = icons/musrStep.icns
|
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
TEMPLATE = app
|
|
||||||
TARGET = musrWiz
|
|
||||||
|
|
||||||
# install path for musrWiz
|
|
||||||
count( PREFIX, 1 ) {
|
|
||||||
MUSRWIZ_INSTALL_PATH = $${PREFIX}/bin
|
|
||||||
}
|
|
||||||
isEmpty( MUSRWIZ_INSTALL_PATH ) {
|
|
||||||
MUSR_FIT_PATH = $$(MUSRFITPATH)
|
|
||||||
count( MUSR_FIT_PATH, 1 ) {
|
|
||||||
MUSRWIZ_INSTALL_PATH = $$(MUSRFITPATH)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty( MUSRWIZ_INSTALL_PATH ) {
|
|
||||||
ROOT_SYS_PATH = $$(ROOTSYS)
|
|
||||||
count( ROOT_SYS_PATH, 1 ) {
|
|
||||||
MUSRWIZ_INSTALL_PATH = $$(ROOTSYS)/bin
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty( MUSRWIZ_INSTALL_PATH ) {
|
|
||||||
MUSRWIZ_INSTALL_PATH = /usr/local/bin
|
|
||||||
}
|
|
||||||
|
|
||||||
unix {
|
|
||||||
message( "Determined installation path: $${MUSRWIZ_INSTALL_PATH}" )
|
|
||||||
}
|
|
||||||
|
|
||||||
unix:target.path = $${MUSRWIZ_INSTALL_PATH}
|
|
||||||
macx:target.path = /Applications
|
|
||||||
win32:target.path = c:/musrfit/bin
|
|
||||||
|
|
||||||
INSTALLS += target
|
|
||||||
|
|
||||||
CONFIG += qt \
|
|
||||||
warn_on \
|
|
||||||
release
|
|
||||||
|
|
||||||
QT += widgets
|
|
||||||
QT += xml
|
|
||||||
QT += core
|
|
||||||
QT += svg
|
|
||||||
|
|
||||||
# set proper permission for Mac OSX
|
|
||||||
macx {
|
|
||||||
QMAKE_INSTALL_FILE = install -m 6755 -p -o $$(USER) -g staff
|
|
||||||
}
|
|
||||||
|
|
||||||
INCLUDEPATH += "../../include"
|
|
||||||
|
|
||||||
HEADERS = musrWiz.h \
|
|
||||||
PTheoTemplate.h \
|
|
||||||
PMusrfitFunc.h \
|
|
||||||
PInstrumentDef.h \
|
|
||||||
PAdmin.h \
|
|
||||||
PMusrWiz.h
|
|
||||||
|
|
||||||
SOURCES = PTheoTemplate.cpp \
|
|
||||||
PMusrfitFunc.cpp \
|
|
||||||
PInstrumentDef.cpp \
|
|
||||||
PAdmin.cpp \
|
|
||||||
PMusrWiz.cpp \
|
|
||||||
musrWiz.cpp
|
|
||||||
|
|
||||||
RESOURCES = musrWiz.qrc
|
|
||||||
|
|
||||||
macx:ICON = icons/musrWiz.icns
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
/*********************************************************************************************
|
|
||||||
|
|
||||||
name: musredit.dox
|
|
||||||
|
|
||||||
created by: Andreas Suter, 2015/10/26
|
|
||||||
|
|
||||||
content: Description of musredit.
|
|
||||||
|
|
||||||
**********************************************************************************************/
|
|
||||||
|
|
||||||
/**
|
|
||||||
|
|
||||||
\mainpage musredit
|
|
||||||
|
|
||||||
<p>musredit is a simple editor based interface to the musrfit programs. It is based on Qt 5.5
|
|
||||||
of The Qt Company (<code>http://www.qt.io</code>).
|
|
||||||
|
|
||||||
<p>musredit is free software liensenced under GPL 2 or later (for detail license informations see
|
|
||||||
<code>http://www.gnu.org/licenses</code>).
|
|
||||||
|
|
||||||
*/
|
|
||||||
@@ -1,182 +0,0 @@
|
|||||||
TEMPLATE = app
|
|
||||||
TARGET = musredit
|
|
||||||
|
|
||||||
packagesExist(Qt5WebEngine) {
|
|
||||||
message("Qt5WebEngine found")
|
|
||||||
DEFINES += HAVE_QT_WEB_ENGINE
|
|
||||||
HAVE_QT_WEB_ENGINE = 1
|
|
||||||
}
|
|
||||||
isEmpty( HAVE_QT_WEB_ENGINE ) {
|
|
||||||
packagesExist(QtWebKit) {
|
|
||||||
message("QtWebKit found")
|
|
||||||
DEFINES += HAVE_QT_WEB_KIT
|
|
||||||
HAVE_QT_WEB_ENGINE = 0
|
|
||||||
}
|
|
||||||
# Mac calls it Qt5WebKit, hence
|
|
||||||
packagesExist(Qt5WebKit) {
|
|
||||||
message("Qt5WebKit found")
|
|
||||||
DEFINES += HAVE_QT_WEB_KIT
|
|
||||||
HAVE_QT_WEB_ENGINE = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty(HAVE_QT_WEB_ENGINE) {
|
|
||||||
message("Neither Qt(5)WebKit nor Qt5WebEngine found. Something is wrong, please check")
|
|
||||||
}
|
|
||||||
|
|
||||||
QMAKE_CXXFLAGS += -std=c++11
|
|
||||||
|
|
||||||
# install path for musredit
|
|
||||||
count( PREFIX, 1 ) {
|
|
||||||
MUSREDIT_INSTALL_PATH = $${PREFIX}/bin
|
|
||||||
}
|
|
||||||
isEmpty( MUSREDIT_INSTALL_PATH ) {
|
|
||||||
MUSR_FIT_PATH = $$(MUSRFITPATH)
|
|
||||||
count( MUSR_FIT_PATH, 1 ) {
|
|
||||||
MUSREDIT_INSTALL_PATH = $$(MUSRFITPATH)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty( MUSREDIT_INSTALL_PATH ) {
|
|
||||||
ROOT_SYS_PATH = $$(ROOTSYS)
|
|
||||||
count( ROOT_SYS_PATH, 1 ) {
|
|
||||||
MUSREDIT_INSTALL_PATH = $$(ROOTSYS)/bin
|
|
||||||
}
|
|
||||||
}
|
|
||||||
isEmpty( MUSREDIT_INSTALL_PATH ) {
|
|
||||||
MUSREDIT_INSTALL_PATH = /usr/local/bin
|
|
||||||
}
|
|
||||||
|
|
||||||
unix {
|
|
||||||
message( "Determined installation path: $${MUSREDIT_INSTALL_PATH}" )
|
|
||||||
}
|
|
||||||
|
|
||||||
unix:target.path = $${MUSREDIT_INSTALL_PATH}
|
|
||||||
macx:target.path = /Applications
|
|
||||||
win32:target.path = c:/musrfit/bin
|
|
||||||
|
|
||||||
INSTALLS += target
|
|
||||||
|
|
||||||
# This is only needed for SL5.1
|
|
||||||
exists ( /opt/fontconfig-2.8.0/lib/libfontconfig.so ) {
|
|
||||||
unix:LIBS += -L/opt/fontconfig-2.8.0/lib/ -lfontconfig
|
|
||||||
}
|
|
||||||
|
|
||||||
exists( /usr/bin/cygwin1.dll ) {
|
|
||||||
QMAKE_CXXFLAGS += -D_WIN32GCC
|
|
||||||
QMAKE_LFLAGS_APP = -Wl,--enable-auto-import
|
|
||||||
}
|
|
||||||
|
|
||||||
isEmpty( CC ) {
|
|
||||||
CC = gcc
|
|
||||||
}
|
|
||||||
|
|
||||||
isEmpty( CXX ) {
|
|
||||||
CXX = g++
|
|
||||||
}
|
|
||||||
|
|
||||||
QMAKE_CC = $${CC}
|
|
||||||
QMAKE_CXX = $${CXX}
|
|
||||||
QMAKE_LINK = $${CXX}
|
|
||||||
|
|
||||||
# set proper permission for Mac OSX
|
|
||||||
macx {
|
|
||||||
QMAKE_INSTALL_FILE = install -m 6755 -p -o $$(USER) -g staff
|
|
||||||
}
|
|
||||||
|
|
||||||
# install path for the XML configuration file
|
|
||||||
unix:xml.path = $$(HOME)/.musrfit/musredit
|
|
||||||
macx:xml.path = $$(HOME)/.musrfit/musredit
|
|
||||||
win32:xml.path = c:/musrfit/bin
|
|
||||||
|
|
||||||
CONFIG += qt \
|
|
||||||
warn_on \
|
|
||||||
release
|
|
||||||
|
|
||||||
QT += widgets
|
|
||||||
QT += xml
|
|
||||||
isEqual(HAVE_QT_WEB_ENGINE, 0) {
|
|
||||||
QT += webkitwidgets
|
|
||||||
}
|
|
||||||
isEqual(HAVE_QT_WEB_ENGINE, 1) {
|
|
||||||
QT += webenginewidgets
|
|
||||||
}
|
|
||||||
QT += network
|
|
||||||
QT += printsupport
|
|
||||||
QT += svg
|
|
||||||
|
|
||||||
INCLUDEPATH += "../"
|
|
||||||
INCLUDEPATH += "../../include"
|
|
||||||
|
|
||||||
HEADERS = musredit.h \
|
|
||||||
../musrfit-info.h \
|
|
||||||
PHelp.h \
|
|
||||||
PTextEdit.h \
|
|
||||||
PSubTextEdit.h \
|
|
||||||
PAdmin.h \
|
|
||||||
PFindDialog.h \
|
|
||||||
PReplaceDialog.h \
|
|
||||||
PReplaceConfirmationDialog.h \
|
|
||||||
PFitOutputHandler.h \
|
|
||||||
PDumpOutputHandler.h \
|
|
||||||
PPrefsDialog.h \
|
|
||||||
PGetMusrFTOptionsDialog.h \
|
|
||||||
PGetTitleBlockDialog.h \
|
|
||||||
PGetParameterBlockDialog.h \
|
|
||||||
PGetTheoryBlockDialog.h \
|
|
||||||
PGetFunctionsBlockDialog.h \
|
|
||||||
PGetAsymmetryRunBlockDialog.h \
|
|
||||||
PGetSingleHistoRunBlockDialog.h \
|
|
||||||
PGetNonMusrRunBlockDialog.h \
|
|
||||||
PGetFourierBlockDialog.h \
|
|
||||||
PGetPlotBlockDialog.h \
|
|
||||||
PMsr2DataDialog.h \
|
|
||||||
PChangeDefaultPathsDialog.h \
|
|
||||||
PMusrEditAbout.h \
|
|
||||||
../../include/git-revision.h
|
|
||||||
|
|
||||||
SOURCES = PHelp.cpp \
|
|
||||||
PTextEdit.cpp \
|
|
||||||
PSubTextEdit.cpp \
|
|
||||||
PAdmin.cpp \
|
|
||||||
PFindDialog.cpp \
|
|
||||||
PReplaceDialog.cpp \
|
|
||||||
PReplaceConfirmationDialog.cpp \
|
|
||||||
PFitOutputHandler.cpp \
|
|
||||||
PDumpOutputHandler.cpp \
|
|
||||||
PPrefsDialog.cpp \
|
|
||||||
PGetMusrFTOptionsDialog.cpp \
|
|
||||||
PGetTitleBlockDialog.cpp \
|
|
||||||
PGetParameterBlockDialog.cpp \
|
|
||||||
PGetTheoryBlockDialog.cpp \
|
|
||||||
PGetFunctionsBlockDialog.cpp \
|
|
||||||
PGetAsymmetryRunBlockDialog.cpp \
|
|
||||||
PGetSingleHistoRunBlockDialog.cpp \
|
|
||||||
PGetNonMusrRunBlockDialog.cpp \
|
|
||||||
PGetFourierBlockDialog.cpp \
|
|
||||||
PGetPlotBlockDialog.cpp \
|
|
||||||
PMsr2DataDialog.cpp \
|
|
||||||
PChangeDefaultPathsDialog.cpp \
|
|
||||||
PMusrEditAbout.cpp \
|
|
||||||
main.cpp
|
|
||||||
|
|
||||||
FORMS = forms/PFindDialog.ui \
|
|
||||||
forms/PReplaceDialog.ui \
|
|
||||||
forms/PReplaceConfirmationDialog.ui \
|
|
||||||
forms/PMusrEditAbout.ui \
|
|
||||||
forms/PPrefsDialog.ui \
|
|
||||||
forms/PGetMusrFTOptionsDialog.ui \
|
|
||||||
forms/PGetTitleBlockDialog.ui \
|
|
||||||
forms/PGetParameterBlockDialog.ui \
|
|
||||||
forms/PGetTheoryBlockDialog.ui \
|
|
||||||
forms/PGetFunctionsBlockDialog.ui \
|
|
||||||
forms/PGetAsymmetryRunBlockDialog.ui \
|
|
||||||
forms/PGetSingleHistoRunBlockDialog.ui \
|
|
||||||
forms/PGetNonMusrRunBlockDialog.ui \
|
|
||||||
forms/PGetFourierBlockDialog.ui \
|
|
||||||
forms/PGetPlotBlockDialog.ui \
|
|
||||||
forms/PMsr2DataDialog.ui \
|
|
||||||
forms/PChangeDefaultPathsDialog.ui
|
|
||||||
|
|
||||||
RESOURCES = musredit.qrc
|
|
||||||
|
|
||||||
macx:ICON = icons/musredit.icns
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user