Skip to content

Commit

Permalink
Remove configure options that doesn't work
Browse files Browse the repository at this point in the history
They are just confusing users.

Change-Id: I107b4212e425e77b892c1ce77ee0fbfb89a97c7f
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
  • Loading branch information
Allan Sandfeld Jensen committed Jan 15, 2021
1 parent c3ba034 commit ed0f3c2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 44 deletions.
10 changes: 0 additions & 10 deletions configure.pri
Expand Up @@ -169,16 +169,6 @@ defineTest(qtConfTest_detectNinja) {
return(false)
}

defineTest(qtConfTest_detectProtoc) {
protoc = $$qtConfFindInPath("protoc")
isEmpty(protoc) {
qtLog("Optional protoc could not be found.")
return(false)
}
qtLog("Found protoc from path: $$protoc")
return(true)
}

defineTest(qtConfTest_detectGn) {
gn = $$qtConfFindInPath("gn$$EXE_SUFFIX")
!isEmpty(gn) {
Expand Down
29 changes: 0 additions & 29 deletions src/buildtools/configure.json
Expand Up @@ -108,12 +108,6 @@
"-ljpeg"
]
},
"webengine-jsoncpp": {
"label": "jsoncpp",
"sources": [
{ "type": "pkgConfig", "args": "jsoncpp" }
]
},
"webengine-libevent": {
"label": "libevent",
"sources": [
Expand All @@ -132,12 +126,6 @@
{ "type": "pkgConfig", "args": "libpng >= 1.6.0" }
]
},
"webengine-protobuf": {
"label": "protobuf",
"sources": [
{ "type": "pkgConfig", "args": "protobuf" }
]
},
"webengine-zlib": {
"label": "zlib",
"sources": [
Expand Down Expand Up @@ -327,10 +315,6 @@
"type": "detectJumboBuild",
"log": "merge_limit"
},
"webengine-protoc": {
"label": "protoc",
"type": "detectProtoc"
},
"webengine-win-compiler64": {
"label": "64bit compiler",
"type": "isWindowsHostCompiler64"
Expand Down Expand Up @@ -600,16 +584,6 @@
"condition": "config.unix && libs.webengine-libevent",
"output": [ "privateFeature" ]
},
"webengine-system-jsoncpp" : {
"label": "jsoncpp",
"condition": "config.unix && libs.webengine-jsoncpp",
"output": [ "privateFeature" ]
},
"webengine-system-protobuf" : {
"label": "protobuf",
"condition": "config.unix && libs.webengine-protobuf && tests.webengine-protoc",
"output": [ "privateFeature" ]
},
"webengine-system-png" : {
"label": "png",
"condition": "config.unix && features.system-png && libs.webengine-png",
Expand Down Expand Up @@ -779,7 +753,6 @@
"section": "Qt WebEngine Build Tools",
"entries": [
"webengine-system-ninja",
"webengine-system-gn",
{
"message": "Jumbo Build Merge Limit",
"type": "jumboBuild"
Expand Down Expand Up @@ -829,8 +802,6 @@
"webengine-system-zlib",
"webengine-system-minizip",
"webengine-system-libevent",
"webengine-system-jsoncpp",
"webengine-system-protobuf",
"webengine-system-libxml2",
"webengine-system-lcms2",
"webengine-system-png",
Expand Down
5 changes: 0 additions & 5 deletions src/core/config/linux.pri
Expand Up @@ -41,9 +41,4 @@ qtConfig(webengine-embedded-build) {
qtConfig(webengine-system-ffmpeg): gn_args += use_system_ffmpeg=true
qtConfig(webengine-system-re2): gn_args += use_system_re2=true
qtConfig(webengine-system-lcms2): gn_args += use_system_lcms2=true

# FIXME:
#qtConfig(webengine-system-protobuf): gn_args += use_system_protobuf=true
#qtConfig(webengine-system-jsoncpp): gn_args += use_system_jsoncpp=true
#qtConfig(webengine-system-libsrtp: gn_args += use_system_libsrtp=true
}

0 comments on commit ed0f3c2

Please sign in to comment.