From 5db12321ac3f4da96f20ead26ad5756b7c852dbe Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Fri, 11 Oct 2019 22:48:06 +0200 Subject: plugins: link to user32 in common project (only on Windows) --- plugins/aoc/aoc.pro | 3 --- plugins/arma2/arma2.pro | 1 - plugins/bf1/bf1.pro | 1 - plugins/bf1942/bf1942.pro | 3 --- plugins/bf2/bf2.pro | 1 - plugins/bf2142/bf2142.pro | 1 - plugins/bf3/bf3.pro | 1 - plugins/bf4/bf4.pro | 1 - plugins/bf4_x86/bf4_x86.pro | 1 - plugins/bfbc2/bfbc2.pro | 1 - plugins/bfheroes/bfheroes.pro | 1 - plugins/blacklight/blacklight.pro | 1 - plugins/borderlands/borderlands.pro | 1 - plugins/borderlands2/borderlands2.pro | 1 - plugins/breach/breach.pro | 2 -- plugins/cod2/cod2.pro | 1 - plugins/cod4/cod4.pro | 1 - plugins/cod5/cod5.pro | 1 - plugins/codmw2/codmw2.pro | 3 --- plugins/codmw2so/codmw2so.pro | 1 - plugins/cs/cs.pro | 1 - plugins/css/css.pro | 1 - plugins/dods/dods.pro | 1 - plugins/dys/dys.pro | 1 - plugins/etqw/etqw.pro | 1 - plugins/ffxiv/ffxiv.pro | 2 -- plugins/ffxiv_x64/ffxiv_x64.pro | 1 - plugins/gmod/gmod.pro | 1 - plugins/gtaiv/gtaiv.pro | 1 - plugins/gtasa/gtasa.pro | 2 -- plugins/gtav/gtav.pro | 1 - plugins/gw/gw.pro | 1 - plugins/hl2dm/hl2dm.pro | 1 - plugins/insurgency/insurgency.pro | 1 - plugins/jc2/jc2.pro | 1 - plugins/l4d/l4d.pro | 1 - plugins/l4d2/l4d2.pro | 2 -- plugins/link/link.pro | 1 - plugins/lol/lol.pro | 1 - plugins/lotro/lotro.pro | 2 -- plugins/plugins.pri | 2 ++ plugins/ql/ql.pro | 1 - plugins/rl/rl.pro | 2 -- plugins/sr/sr.pro | 1 - plugins/sto/sto.pro | 1 - plugins/tf2/tf2.pro | 1 - plugins/ut2004/ut2004.pro | 1 - plugins/ut3/ut3.pro | 1 - plugins/ut99/ut99.pro | 1 - plugins/wolfet/wolfet.pro | 1 - plugins/wow/wow.pro | 1 - plugins/wow_x64/wow_x64.pro | 1 - 52 files changed, 2 insertions(+), 63 deletions(-) (limited to 'plugins') diff --git a/plugins/aoc/aoc.pro b/plugins/aoc/aoc.pro index bdee1b245..de3227e99 100644 --- a/plugins/aoc/aoc.pro +++ b/plugins/aoc/aoc.pro @@ -7,6 +7,3 @@ include(../plugins.pri) TARGET = aoc SOURCES = aoc.cpp -LIBS += -luser32 - - diff --git a/plugins/arma2/arma2.pro b/plugins/arma2/arma2.pro index 293d242c1..212d2b92c 100644 --- a/plugins/arma2/arma2.pro +++ b/plugins/arma2/arma2.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = arma2 SOURCES = arma2.cpp -LIBS += -luser32 diff --git a/plugins/bf1/bf1.pro b/plugins/bf1/bf1.pro index fdb72462c..7066a0089 100644 --- a/plugins/bf1/bf1.pro +++ b/plugins/bf1/bf1.pro @@ -2,4 +2,3 @@ include(../plugins.pri) TARGET = bf1 SOURCES = bf1.cpp -LIBS += -luser32 diff --git a/plugins/bf1942/bf1942.pro b/plugins/bf1942/bf1942.pro index b93403073..31f4ae42f 100644 --- a/plugins/bf1942/bf1942.pro +++ b/plugins/bf1942/bf1942.pro @@ -7,6 +7,3 @@ include(../plugins.pri) TARGET = bf1942 SOURCES = bf1942.cpp -LIBS += -luser32 - - diff --git a/plugins/bf2/bf2.pro b/plugins/bf2/bf2.pro index 4d4c948e8..ab3fef34c 100644 --- a/plugins/bf2/bf2.pro +++ b/plugins/bf2/bf2.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = bf2 SOURCES = bf2.cpp -LIBS += -luser32 diff --git a/plugins/bf2142/bf2142.pro b/plugins/bf2142/bf2142.pro index 14df1e304..e404adb57 100644 --- a/plugins/bf2142/bf2142.pro +++ b/plugins/bf2142/bf2142.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = bf2142 SOURCES = bf2142.cpp -LIBS += -luser32 diff --git a/plugins/bf3/bf3.pro b/plugins/bf3/bf3.pro index 764bcea36..ab6625e0e 100644 --- a/plugins/bf3/bf3.pro +++ b/plugins/bf3/bf3.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = bf3 SOURCES = bf3.cpp -LIBS += -luser32 diff --git a/plugins/bf4/bf4.pro b/plugins/bf4/bf4.pro index 35c999041..b41c3d419 100644 --- a/plugins/bf4/bf4.pro +++ b/plugins/bf4/bf4.pro @@ -2,4 +2,3 @@ include(../plugins.pri) TARGET = bf4 SOURCES = bf4.cpp -LIBS += -luser32 diff --git a/plugins/bf4_x86/bf4_x86.pro b/plugins/bf4_x86/bf4_x86.pro index 2aefb8ec3..06950a5f0 100644 --- a/plugins/bf4_x86/bf4_x86.pro +++ b/plugins/bf4_x86/bf4_x86.pro @@ -2,4 +2,3 @@ include(../plugins.pri) TARGET = bf4_x86 SOURCES = bf4_x86.cpp -LIBS += -luser32 diff --git a/plugins/bfbc2/bfbc2.pro b/plugins/bfbc2/bfbc2.pro index 9498f4187..98de82a2b 100644 --- a/plugins/bfbc2/bfbc2.pro +++ b/plugins/bfbc2/bfbc2.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = bfbc2 SOURCES = bfbc2.cpp -LIBS += -luser32 diff --git a/plugins/bfheroes/bfheroes.pro b/plugins/bfheroes/bfheroes.pro index 5bca8fdea..6bd435428 100644 --- a/plugins/bfheroes/bfheroes.pro +++ b/plugins/bfheroes/bfheroes.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = bfheroes SOURCES = bfheroes.cpp -LIBS += -luser32 diff --git a/plugins/blacklight/blacklight.pro b/plugins/blacklight/blacklight.pro index f48cae570..f62642c1c 100644 --- a/plugins/blacklight/blacklight.pro +++ b/plugins/blacklight/blacklight.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = blacklight SOURCES = blacklight.cpp -LIBS += -luser32 diff --git a/plugins/borderlands/borderlands.pro b/plugins/borderlands/borderlands.pro index ebe6d1c9b..411396092 100644 --- a/plugins/borderlands/borderlands.pro +++ b/plugins/borderlands/borderlands.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = borderlands SOURCES = borderlands.cpp -LIBS += -luser32 diff --git a/plugins/borderlands2/borderlands2.pro b/plugins/borderlands2/borderlands2.pro index 8a22aa1f1..e0d9e909f 100644 --- a/plugins/borderlands2/borderlands2.pro +++ b/plugins/borderlands2/borderlands2.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = borderlands2 SOURCES = borderlands2.cpp -LIBS += -luser32 diff --git a/plugins/breach/breach.pro b/plugins/breach/breach.pro index 17559b741..558c0cfe2 100644 --- a/plugins/breach/breach.pro +++ b/plugins/breach/breach.pro @@ -7,5 +7,3 @@ include(../plugins.pri) TARGET = breach SOURCES = breach.cpp -LIBS += -luser32 - diff --git a/plugins/cod2/cod2.pro b/plugins/cod2/cod2.pro index 5f75b6e1e..04aca900f 100644 --- a/plugins/cod2/cod2.pro +++ b/plugins/cod2/cod2.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = cod2 SOURCES = cod2.cpp -LIBS += -luser32 diff --git a/plugins/cod4/cod4.pro b/plugins/cod4/cod4.pro index b371ad3f5..ce9006160 100644 --- a/plugins/cod4/cod4.pro +++ b/plugins/cod4/cod4.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = cod4 SOURCES = cod4.cpp -LIBS += -luser32 diff --git a/plugins/cod5/cod5.pro b/plugins/cod5/cod5.pro index 4f711a251..196c57c54 100644 --- a/plugins/cod5/cod5.pro +++ b/plugins/cod5/cod5.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = cod5 SOURCES = cod5.cpp -LIBS += -luser32 diff --git a/plugins/codmw2/codmw2.pro b/plugins/codmw2/codmw2.pro index 96bc1cefd..2569b1d40 100644 --- a/plugins/codmw2/codmw2.pro +++ b/plugins/codmw2/codmw2.pro @@ -7,6 +7,3 @@ include(../plugins.pri) TARGET = codmw2 SOURCES = codmw2.cpp -LIBS += -luser32 - - diff --git a/plugins/codmw2so/codmw2so.pro b/plugins/codmw2so/codmw2so.pro index fbbf0b18f..b10926120 100644 --- a/plugins/codmw2so/codmw2so.pro +++ b/plugins/codmw2so/codmw2so.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = codmw2so SOURCES = codmw2so.cpp -LIBS += -luser32 diff --git a/plugins/cs/cs.pro b/plugins/cs/cs.pro index 237d1719c..a89512db5 100644 --- a/plugins/cs/cs.pro +++ b/plugins/cs/cs.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = cs SOURCES = cs.cpp -LIBS += -luser32 diff --git a/plugins/css/css.pro b/plugins/css/css.pro index ef6aec2ed..f587e6204 100644 --- a/plugins/css/css.pro +++ b/plugins/css/css.pro @@ -8,4 +8,3 @@ include(../plugins.pri) DEFINES += "NULL_DESC=\"L\\\"CounterStrike : Source (Retracted, now using link)\\\"\"" TARGET = css SOURCES = ../null_plugin.cpp -LIBS += -luser32 diff --git a/plugins/dods/dods.pro b/plugins/dods/dods.pro index 54f28ecdd..a8f288909 100644 --- a/plugins/dods/dods.pro +++ b/plugins/dods/dods.pro @@ -8,4 +8,3 @@ include(../plugins.pri) DEFINES += "NULL_DESC=\"L\\\"Day of Defeat : Source (Retracted, now using link)\\\"\"" TARGET = dods SOURCES = ../null_plugin.cpp -LIBS += -luser32 diff --git a/plugins/dys/dys.pro b/plugins/dys/dys.pro index 71c72f8a2..477b9ba10 100644 --- a/plugins/dys/dys.pro +++ b/plugins/dys/dys.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = dys SOURCES = dys.cpp -LIBS += -luser32 diff --git a/plugins/etqw/etqw.pro b/plugins/etqw/etqw.pro index 0b1147eb3..07c0769e1 100644 --- a/plugins/etqw/etqw.pro +++ b/plugins/etqw/etqw.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = etqw SOURCES = etqw.cpp -LIBS += -luser32 diff --git a/plugins/ffxiv/ffxiv.pro b/plugins/ffxiv/ffxiv.pro index b8bc86a11..e50866925 100755 --- a/plugins/ffxiv/ffxiv.pro +++ b/plugins/ffxiv/ffxiv.pro @@ -7,5 +7,3 @@ include(../plugins.pri) TARGET = ffxiv SOURCES = ffxiv.cpp - -win32:LIBS += -luser32 diff --git a/plugins/ffxiv_x64/ffxiv_x64.pro b/plugins/ffxiv_x64/ffxiv_x64.pro index c2cc941b5..c50a50881 100755 --- a/plugins/ffxiv_x64/ffxiv_x64.pro +++ b/plugins/ffxiv_x64/ffxiv_x64.pro @@ -9,4 +9,3 @@ TARGET = ffxiv_x64 SOURCES = ../ffxiv/ffxiv.cpp DEFINES *= FFXIV_USE_x64 -win32:LIBS += -luser32 diff --git a/plugins/gmod/gmod.pro b/plugins/gmod/gmod.pro index 8df76808b..ca73713ff 100644 --- a/plugins/gmod/gmod.pro +++ b/plugins/gmod/gmod.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = gmod SOURCES = gmod.cpp -LIBS += -luser32 diff --git a/plugins/gtaiv/gtaiv.pro b/plugins/gtaiv/gtaiv.pro index 7a0e69322..c9805e36a 100644 --- a/plugins/gtaiv/gtaiv.pro +++ b/plugins/gtaiv/gtaiv.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = gtaiv SOURCES = gtaiv.cpp -LIBS += -luser32 diff --git a/plugins/gtasa/gtasa.pro b/plugins/gtasa/gtasa.pro index 49ba739f8..a4bf81735 100644 --- a/plugins/gtasa/gtasa.pro +++ b/plugins/gtasa/gtasa.pro @@ -7,5 +7,3 @@ include(../plugins.pri) TARGET = gtasa SOURCES = gtasa.cpp - -LIBS += -luser32 diff --git a/plugins/gtav/gtav.pro b/plugins/gtav/gtav.pro index ec8e7ef18..eeb45a117 100644 --- a/plugins/gtav/gtav.pro +++ b/plugins/gtav/gtav.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = gtav SOURCES = gtav.cpp -LIBS += -luser32 diff --git a/plugins/gw/gw.pro b/plugins/gw/gw.pro index 998e2a44b..9c22be84e 100644 --- a/plugins/gw/gw.pro +++ b/plugins/gw/gw.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = gw SOURCES = gw.cpp -LIBS += -luser32 diff --git a/plugins/hl2dm/hl2dm.pro b/plugins/hl2dm/hl2dm.pro index 9204eb872..42fe07f3d 100644 --- a/plugins/hl2dm/hl2dm.pro +++ b/plugins/hl2dm/hl2dm.pro @@ -8,4 +8,3 @@ include(../plugins.pri) DEFINES += "NULL_DESC=\"L\\\"Half Life 2 Death Match (Retracted, now using link)\\\"\"" TARGET = hl2dm SOURCES = ../null_plugin.cpp -LIBS += -luser32 diff --git a/plugins/insurgency/insurgency.pro b/plugins/insurgency/insurgency.pro index 4c6511993..b468f6425 100644 --- a/plugins/insurgency/insurgency.pro +++ b/plugins/insurgency/insurgency.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = insurgency SOURCES = insurgency.cpp -LIBS += -luser32 diff --git a/plugins/jc2/jc2.pro b/plugins/jc2/jc2.pro index 863fd149c..e9a483d11 100755 --- a/plugins/jc2/jc2.pro +++ b/plugins/jc2/jc2.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = jc2 SOURCES = jc2.cpp -LIBS += -luser32 diff --git a/plugins/l4d/l4d.pro b/plugins/l4d/l4d.pro index 518801e50..0b6ea0d98 100644 --- a/plugins/l4d/l4d.pro +++ b/plugins/l4d/l4d.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = l4d SOURCES = l4d.cpp -LIBS += -luser32 diff --git a/plugins/l4d2/l4d2.pro b/plugins/l4d2/l4d2.pro index 81466537f..562299fce 100644 --- a/plugins/l4d2/l4d2.pro +++ b/plugins/l4d2/l4d2.pro @@ -7,5 +7,3 @@ include(../plugins.pri) TARGET = l4d2 SOURCES = l4d2.cpp - -win32:LIBS += -luser32 diff --git a/plugins/link/link.pro b/plugins/link/link.pro index 992429d99..db9bb825f 100644 --- a/plugins/link/link.pro +++ b/plugins/link/link.pro @@ -9,7 +9,6 @@ TARGET = link win32 { SOURCES = link.cpp - LIBS += -luser32 } unix { diff --git a/plugins/lol/lol.pro b/plugins/lol/lol.pro index 49d5ca71c..3acf1681d 100644 --- a/plugins/lol/lol.pro +++ b/plugins/lol/lol.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = lol SOURCES = lol.cpp -LIBS += -luser32 diff --git a/plugins/lotro/lotro.pro b/plugins/lotro/lotro.pro index afa3525a2..d8f79ea26 100644 --- a/plugins/lotro/lotro.pro +++ b/plugins/lotro/lotro.pro @@ -7,5 +7,3 @@ include(../plugins.pri) TARGET = lotro SOURCES = lotro.cpp -LIBS += -luser32 -CONFIG += qt diff --git a/plugins/plugins.pri b/plugins/plugins.pri index bcb52e4d3..6f9253d88 100644 --- a/plugins/plugins.pri +++ b/plugins/plugins.pri @@ -16,6 +16,8 @@ CONFIG(static) { CONFIG += qt_dynamic_lookup } +win32:LIBS += -luser32 + DESTDIR = $$DESTDIR/plugins include(../qmake/symbols.pri) diff --git a/plugins/ql/ql.pro b/plugins/ql/ql.pro index c6127c4bd..091b8ecc8 100644 --- a/plugins/ql/ql.pro +++ b/plugins/ql/ql.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = ql SOURCES = ql.cpp -LIBS += -luser32 diff --git a/plugins/rl/rl.pro b/plugins/rl/rl.pro index 6fa78247a..66eeaab40 100644 --- a/plugins/rl/rl.pro +++ b/plugins/rl/rl.pro @@ -7,5 +7,3 @@ include(../plugins.pri) TARGET = rl SOURCES = rl.cpp - -win32:LIBS += -luser32 diff --git a/plugins/sr/sr.pro b/plugins/sr/sr.pro index 6a0e784cf..f49380651 100644 --- a/plugins/sr/sr.pro +++ b/plugins/sr/sr.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = sr SOURCES = sr.cpp -LIBS += -luser32 diff --git a/plugins/sto/sto.pro b/plugins/sto/sto.pro index 96b7eb32d..9f116ba9a 100644 --- a/plugins/sto/sto.pro +++ b/plugins/sto/sto.pro @@ -8,4 +8,3 @@ include(../plugins.pri) DEFINES += "NULL_DESC=\"L\\\"Star Trek Online (Retracted due to lack of maintenance)\\\"\"" TARGET = sto SOURCES = ../null_plugin.cpp -LIBS += -luser32 diff --git a/plugins/tf2/tf2.pro b/plugins/tf2/tf2.pro index 5a464fdb9..c89c47e3a 100644 --- a/plugins/tf2/tf2.pro +++ b/plugins/tf2/tf2.pro @@ -8,4 +8,3 @@ include(../plugins.pri) DEFINES += "NULL_DESC=\"L\\\"Team Fortress 2 (Retracted, now using link)\\\"\"" TARGET = tf2 SOURCES = ../null_plugin.cpp -LIBS += -luser32 diff --git a/plugins/ut2004/ut2004.pro b/plugins/ut2004/ut2004.pro index b9ff3f232..5fd449040 100644 --- a/plugins/ut2004/ut2004.pro +++ b/plugins/ut2004/ut2004.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = ut2004 SOURCES = ut2004.cpp -LIBS += -luser32 diff --git a/plugins/ut3/ut3.pro b/plugins/ut3/ut3.pro index f9314646f..c8fd3edab 100644 --- a/plugins/ut3/ut3.pro +++ b/plugins/ut3/ut3.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = ut3 SOURCES = ut3.cpp -LIBS += -luser32 diff --git a/plugins/ut99/ut99.pro b/plugins/ut99/ut99.pro index d1b8a26b2..a773fe664 100644 --- a/plugins/ut99/ut99.pro +++ b/plugins/ut99/ut99.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = ut99 SOURCES = ut99.cpp -LIBS += -luser32 diff --git a/plugins/wolfet/wolfet.pro b/plugins/wolfet/wolfet.pro index d4f403977..02b9b7bbf 100644 --- a/plugins/wolfet/wolfet.pro +++ b/plugins/wolfet/wolfet.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = wolfet SOURCES = wolfet.cpp -LIBS += -luser32 diff --git a/plugins/wow/wow.pro b/plugins/wow/wow.pro index 685fa2ab3..5469d4068 100644 --- a/plugins/wow/wow.pro +++ b/plugins/wow/wow.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = wow SOURCES = wow.cpp -LIBS += -luser32 diff --git a/plugins/wow_x64/wow_x64.pro b/plugins/wow_x64/wow_x64.pro index d44209124..67ed8bc69 100644 --- a/plugins/wow_x64/wow_x64.pro +++ b/plugins/wow_x64/wow_x64.pro @@ -7,4 +7,3 @@ include(../plugins.pri) TARGET = wow_x64 SOURCES = wow_x64.cpp -LIBS += -luser32 -- cgit v1.2.3