Switch to unified view

a/src/qt4gui/recoll.pro.in b/src/qt4gui/recoll.pro.in
1
TEMPLATE  = app
1
TEMPLATE        = app
2
LANGUAGE  = C++
2
LANGUAGE        = C++
3
3
4
CONFIG    += qt warn_on thread release debug
4
CONFIG  += qt warn_on thread release debug
5
5
6
HEADERS   += \
6
HEADERS += \
7
        ../qtgui/advsearch_w.h \
7
        ../qtgui/advsearch_w.h \
8
        ../qtgui/confgui/confgui.h \
8
        ../qtgui/confgui/confgui.h \
9
        ../qtgui/confgui/confguiindex.h \
9
        ../qtgui/confgui/confguiindex.h \
10
        ../qtgui/preview_w.h \
10
        ../qtgui/preview_w.h \
11
        ../qtgui/rclhelp.h \
11
        ../qtgui/rclhelp.h \
...
...
14
        ../qtgui/searchclause_w.h \
14
        ../qtgui/searchclause_w.h \
15
        ../qtgui/sort_w.h \
15
        ../qtgui/sort_w.h \
16
        ../qtgui/spell_w.h \
16
        ../qtgui/spell_w.h \
17
        ../qtgui/ssearch_w.h \
17
        ../qtgui/ssearch_w.h \
18
        ../qtgui/uiprefs_w.h \
18
        ../qtgui/uiprefs_w.h \
19
        ../qtgui/viewaction_w.h
19
        ../qtgui/viewaction_w.h \
20
20
21
21
22
SOURCES += \
22
SOURCES += \
23
        ../qtgui/advsearch_w.cpp \
23
        ../qtgui/advsearch_w.cpp \
24
        ../qtgui/confgui/confgui.cpp \
24
        ../qtgui/confgui/confgui.cpp \
...
...
33
        ../qtgui/searchclause_w.cpp \
33
        ../qtgui/searchclause_w.cpp \
34
        ../qtgui/sort_w.cpp \
34
        ../qtgui/sort_w.cpp \
35
        ../qtgui/spell_w.cpp \
35
        ../qtgui/spell_w.cpp \
36
        ../qtgui/ssearch_w.cpp \
36
        ../qtgui/ssearch_w.cpp \
37
        ../qtgui/uiprefs_w.cpp \
37
        ../qtgui/uiprefs_w.cpp \
38
        ../qtgui/viewaction_w.cpp
38
        ../qtgui/viewaction_w.cpp \
39
  
40
39
41
40
41
42
FORMS = \
42
FORMS   = \
43
        advsearch.ui \
43
        ../qtgui/advsearch.ui \
44
        rclmain.ui \
44
        ../qtgui/rclmain.ui \
45
        sort.ui \
45
        ../qtgui/sort.ui \
46
        spell.ui \
46
        ../qtgui/spell.ui \
47
        ssearchb.ui \
47
        ../qtgui/ssearchb.ui \
48
        uiprefs.ui \
48
        ../qtgui/uiprefs.ui \
49
        viewaction.ui
49
        ../qtgui/viewaction.ui \
50
50
51
51
52
RESOURCES = recoll.qrc
52
RESOURCES = recoll.qrc
53
53
54
unix {
54
unix {
...
...
59
  LIBS += ../lib/librcl.a \
59
  LIBS += ../lib/librcl.a \
60
            $(BSTATIC) @LIBXAPIAN@ @LIBICONV@ $(BDYNAMIC) \
60
            $(BSTATIC) @LIBXAPIAN@ @LIBICONV@ $(BDYNAMIC) \
61
           -lz
61
           -lz
62
62
63
  INCLUDEPATH += ../common ../index ../internfile ../query ../unac \
63
  INCLUDEPATH += ../common ../index ../internfile ../query ../unac \
64
        ../utils ../aspell ../rcldb ../qt4gui/.ui \
64
              ../utils ../aspell ../rcldb ../qt4gui/.ui \
65
        ../qtgui ../../qtgui \
65
              ../qtgui ../../qtgui \
66
        ../qtgui/confgui ../../qtgui/confgui
66
              ../qtgui/confgui ../../qtgui/confgui
67
67
68
  POST_TARGETDEPS = ../lib/librcl.a
68
  POST_TARGETDEPS = ../lib/librcl.a
69
}
69
}
70
70
71
UNAME = $$system(uname -s)
71
UNAME = $$system(uname -s)
72
contains( UNAME, [lL]inux ) {
72
contains( UNAME, [lL]inux ) {
73
          LIBS -= -liconv
73
          LIBS -= -liconv 
74
    LIBS += -ldl -lX11
74
}
75
}
75
contains( UNAME, SunOS ) {
76
contains( UNAME, SunOS ) {
76
          LIBS += -ldl
77
          LIBS += -ldl
77
}
78
}
78
79
79
TRANSLATIONS = ../qtgui/i18n/recoll_de.ts \
80
TRANSLATIONS = \
80
         ../qtgui/i18n/recoll_fr.ts \
81
         ../qtgui/i18n/recoll_de.ts \
82
             ../qtgui/i18n/recoll_fr.ts \
81
       ../qtgui/i18n/recoll_it.ts \
83
             ../qtgui/i18n/recoll_it.ts \
82
       ../qtgui/i18n/recoll_ru.ts \
84
             ../qtgui/i18n/recoll_ru.ts \
83
       ../qtgui/i18n/recoll_tr.ts \
85
             ../qtgui/i18n/recoll_tr.ts \
84
       ../qtgui/i18n/recoll_uk.ts \
86
             ../qtgui/i18n/recoll_uk.ts \
85
       ../qtgui/i18n/recoll_xx.ts
87
             ../qtgui/i18n/recoll_xx.ts \
88
86
89
87
QT += qt3support 
90
QT += qt3support