"Fossies" - the Fresh Open Source Software Archive

Member "MP3Diags-unstable-1.5.01/src/src.pro.w10" (3 Apr 2019, 6955 Bytes) of package /linux/privat/MP3Diags-unstable-1.5.01.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # this can be used as a starting point for building on Windows #ttt0 generate automatically what's different from Linux
    2 
    3 SOURCES +=  \
    4  Helpers.cpp \
    5  main.cpp \
    6  DiscogsDownloader.cpp \
    7  DoubleList.cpp \
    8  FileEnum.cpp \
    9  FileRenamerDlgImpl.cpp \
   10  FilesModel.cpp \
   11  Id3Transf.cpp \
   12  Id3V230Stream.cpp \
   13  Id3V240Stream.cpp \
   14  Id3V2Stream.cpp \
   15  ImageInfoPanelWdgImpl.cpp \
   16  LogModel.cpp \
   17  LyricsStream.cpp \
   18  MainFormDlgImpl.cpp \
   19  Mp3Manip.cpp \
   20  Mp3TransformThread.cpp \
   21  MpegFrame.cpp \
   22  MpegStream.cpp \
   23  MultiLineTvDelegate.cpp \
   24  MusicBrainzDownloader.cpp \
   25  ExternalToolDlgImpl.cpp \
   26  NoteFilterDlgImpl.cpp \
   27  Notes.cpp \
   28  NotesModel.cpp \
   29  OsFile.cpp \
   30  PaletteDlgImpl.cpp \
   31  RenamerPatternsDlgImpl.cpp \
   32  ScanDlgImpl.cpp \
   33  SessionEditorDlgImpl.cpp \
   34  SessionsDlgImpl.cpp \
   35  SongInfoParser.cpp \
   36  StoredSettings.cpp \
   37  StreamsModel.cpp \
   38  StructuralTransformation.cpp \
   39  TagEditorDlgImpl.cpp \
   40  TagEdtPatternsDlgImpl.cpp \
   41  TagReadPanel.cpp \
   42  TagWriter.cpp \
   43  ThreadRunnerDlgImpl.cpp \
   44  Transformation.cpp \
   45  UniqueNotesModel.cpp \
   46  Widgets.cpp \
   47  AboutDlgImpl.cpp \
   48  AlbumInfoDownloaderDlgImpl.cpp \
   49  ApeStream.cpp \
   50  CheckedDir.cpp \
   51  ColumnResizer.cpp \
   52  CommonData.cpp \
   53  CommonTypes.cpp \
   54  ConfigDlgImpl.cpp \
   55  DataStream.cpp \
   56  DebugDlgImpl.cpp \
   57  DirFilterDlgImpl.cpp \
   58  Version.cpp \
   59  fstream_unicode.cpp \
   60  ExportDlgImpl.cpp \
   61  SerSupport.cpp \
   62   FullSizeImgDlg.cpp \
   63     Translation.cpp \
   64     CbException.cpp
   65 TEMPLATE = app
   66 CONFIG += warn_on \
   67       thread \
   68           qt \
   69  debug_and_release
   70 TARGET = MP3DiagsWindows-unstable
   71 DESTDIR = ../bin
   72 
   73 QT += xml \
   74 network \
   75 widgets
   76 
   77 
   78 RESOURCES += Mp3Diags.qrc
   79 
   80 HEADERS += AboutDlgImpl.h \
   81 AlbumInfoDownloaderDlgImpl.h \
   82 ApeStream.h \
   83 CheckedDir.h \
   84 ColumnResizer.h \
   85 CommonData.h \
   86 CommonTypes.h \
   87 ConfigDlgImpl.h \
   88 DataStream.h \
   89 DebugDlgImpl.h \
   90 DirFilterDlgImpl.h \
   91 DiscogsDownloader.h \
   92 DoubleList.h \
   93 FileEnum.h \
   94 FileRenamerDlgImpl.h \
   95 FilesModel.h \
   96 Helpers.h \
   97 Id3Transf.h \
   98 Id3V230Stream.h \
   99 Id3V240Stream.h \
  100 Id3V2Stream.h \
  101 ImageInfoPanelWdgImpl.h \
  102 LogModel.h \
  103 LyricsStream.h \
  104 MainFormDlgImpl.h \
  105 Mp3Manip.h \
  106 Mp3TransformThread.h \
  107 MpegFrame.h \
  108 MpegStream.h \
  109 MultiLineTvDelegate.h \
  110 MusicBrainzDownloader.h \
  111 ExternalToolDlgImpl.h \
  112 NoteFilterDlgImpl.h \
  113 Notes.h \
  114 NotesModel.h \
  115 OsFile.h \
  116 PaletteDlgImpl.h \
  117 RenamerPatternsDlgImpl.h \
  118 ScanDlgImpl.h \
  119 SerSupport.h \
  120 SessionEditorDlgImpl.h \
  121 SessionsDlgImpl.h \
  122 SimpleSaxHandler.h \
  123 SongInfoParser.h \
  124 StoredSettings.h \
  125 StreamsModel.h \
  126 StructuralTransformation.h \
  127 TagEditorDlgImpl.h \
  128 TagEdtPatternsDlgImpl.h \
  129 TagReadPanel.h \
  130 TagWriter.h \
  131 ThreadRunnerDlgImpl.h \
  132 Transformation.h \
  133 UniqueNotesModel.h \
  134 Widgets.h \
  135  fstream_unicode.h \
  136  ExportDlgImpl.h \
  137  FullSizeImgDlg.h \
  138  Version.h \
  139     Translation.h \
  140     CbException.h \
  141     QHttp \
  142     QHttpRequestHeader \
  143     QHttpResponseHeader
  144 
  145 FORMS += About.ui \
  146 AlbumInfoDownloader.ui \
  147 Config.ui \
  148 Debug.ui \
  149 DirFilter.ui \
  150 DoubleListWdg.ui \
  151 FileRenamer.ui \
  152 ImageInfoPanel.ui \
  153 MainForm.ui \
  154 ExternalTool.ui \
  155 NoteFilter.ui \
  156 Palette.ui \
  157 Patterns.ui \
  158 Scan.ui \
  159 SessionEditor.ui \
  160 Sessions.ui \
  161 TagEditor.ui \
  162 ThreadRunner.ui \
  163  Export.ui
  164 
  165 UI_DIR = ui-forms
  166 
  167 #CONFIG += console
  168 
  169 # !!! One thing to keep in mind is that when using BuildMp3Diags.hta the file src.pro shouldn't be changed. At the first build attempt a copy src.pro1 is created in the "package" dir, and that is where changes for the actual location of the libs
  170 
  171 QMAKE_CXXFLAGS_DEBUG += -DOUTPUT_TRACE_TO_CONSOLE -Wno-unused-parameter -Wno-deprecated-declarations -Wno-zero-as-null-pointer-constant -Wno-sign-conversion -Wno-weak-vtables -Wno-sign-conversion
  172 
  173 #DEFINES += DISABLE_CHECK_FOR_UPDATES
  174 #DEFINES += OS2
  175 
  176 # GENERATE_TOC and GAPLESS_SUPPORT are not independent (though perhaps they should be), so GAPLESS_SUPPORT is ignored if GENERATE_TOC is set
  177 # GAPLESS_SUPPORT also need LAME library
  178 #QMAKE_CXXFLAGS_DEBUG += -DGENERATE_TOC
  179 #QMAKE_CXXFLAGS_DEBUG += -DGAPLESS_SUPPORT
  180 #QMAKE_CXXFLAGS += -DGAPLESS_SUPPORT
  181 
  182 
  183 #LIBS += -lmp3lame
  184 
  185 # Notes for Windows gapless support:
  186 #   - It's hard to build Lame and prebuilt libs are not official and don't work:
  187 #       - they don't have the apparently newer hip_decode_init(), but only the older lame_decode_init(), which seems to have been deprecated in 2004
  188 #       - there were different library names, like lame_enc.dll
  189 #       - it is supposedly possible to build an .a and then convert it to a .dll
  190 #       - older installed MinGW cannot compile LAME; there is an addon MSYS / RXVT, which adds "make" and a few other things and thus allows building, but it's probably hard to get for the older version which came with the Qt used for building
  191 #       - DLLs built with MSVC allow the MinGW built exe to start, but trying to use LAME causes a crash
  192 #       - DLLs built with MSVC also cause the MSVC-built exe to crash or not start at all (claiming that some entry point is missing from the zlib DLL)
  193 #       - building from outside MSVC requires changes in the Makefile, as some deprecated options aren't understood; something like this worked after getting rid of "/opt:NOWIN98"
  194 #               nmake -f Makefile.MSVC ASM=qt CFG=qt dll
  195 #           ("qt" didn't mean anything except that it forced some setting to not be used)
  196 #           not sure if the things this created were fine; only tested the DLL and it crashed; when building from within Visual Studio also tried the static libs
  197 #
  198 #   - What seemed to do the trick was building LAME libs from within Visual Studio, then link 2 libs statically to the MSVC-build MP3 Diags:
  199 #       - there's a vc_solution dir; import the project from there; it will complain a bit but actually works
  200 #       - build the libs in RELEASE (there are some optimized Release builds, didn't try them; one needs a separate assembler)
  201 #
  202 #LIBS += C:\\Users\\ciobi\\temp\\lame-3.99.5-03\\lame-3.99.5\\output\\Release\\libmp3lame-static.lib
  203 #LIBS += C:\\Users\\ciobi\\temp\\lame-3.99.5-03\\lame-3.99.5\\output\\Release\\libmpghip-static.lib
  204 #
  205 # A dir for LAME's include should be created and inside it there should be a "lame" dir and inside it a copy of "lame.h", then the parent of "lame" should be added to the path. The reason is that the #include is for "<lame/lame.h>"
  206 #INCLUDEPATH += C:\\Users\\ciobi\\temp\\lame-include
  207 #
  208 
  209 
  210 TRANSLATIONS = translations/mp3diags_cs.ts \
  211     translations/mp3diags_de_DE.ts \
  212     translations/mp3diags_fr_FR.ts
  213 
  214 
  215 
  216 
  217 
  218 
  219 INCLUDEPATH += C:\\boost\\boost_1_69_0
  220 INCLUDEPATH += C:\\zlib\\zlib-1.2.11
  221 
  222 
  223 LIBS += C:\\boost\\boost_1_69_0\\bin.v2\\libs\\serialization\\build\\msvc-14.1\\release\\threading-multi\\boost_serialization-vc141-mt-x32-1_69.lib
  224 LIBS += C:\\boost\\boost_1_69_0\\bin.v2\\libs\\program_options\\build\\msvc-14.1\\release\\threading-multi\\boost_program_options-vc141-mt-x32-1_69.lib
  225 LIBS += C:\\zlib\\zlib-1.2.11\\build\\zlib.lib
  226 LIBS += -lpsapi
  227 
  228 DEFINES += BOOST_ALL_DYN_LINK
  229 DEFINES += _CRT_SECURE_NO_WARNINGS
  230 DEFINES += _SCL_SECURE_NO_WARNINGS
  231 DEFINES += MSVC_QMAKE
  232