mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-19 09:27:37 +02:00
Revert "added plugin manager gui #4168"
This reverts commit bfa9bab78d
.
This commit is contained in:
parent
c34928b7c8
commit
db1a611171
9 changed files with 5 additions and 248 deletions
|
@ -213,8 +213,7 @@ class InternalCommands:
|
|||
defaultTarget = 'release'
|
||||
|
||||
cmake_dir = 'res'
|
||||
main_gui_dir = 'src/gui/main'
|
||||
plugin_gui_dir = 'src/gui/plugin'
|
||||
gui_dir = 'src/gui'
|
||||
doc_dir = 'doc'
|
||||
extDir = 'ext'
|
||||
|
||||
|
@ -540,21 +539,13 @@ class InternalCommands:
|
|||
print "QMake command: " + qmake_cmd_string
|
||||
|
||||
# run qmake from the gui dir
|
||||
self.try_chdir(self.main_gui_dir)
|
||||
self.try_chdir(self.gui_dir)
|
||||
err = os.system(qmake_cmd_string)
|
||||
self.restore_chdir()
|
||||
|
||||
if err != 0:
|
||||
raise Exception('QMake encountered error: ' + str(err))
|
||||
|
||||
# run qmake from the gui dir
|
||||
self.try_chdir(self.plugin_gui_dir)
|
||||
err = os.system(qmake_cmd_string)
|
||||
self.restore_chdir()
|
||||
|
||||
if err != 0:
|
||||
raise Exception('QMake encountered error: ' + str(err))
|
||||
|
||||
def getQmakeVersion(self):
|
||||
version = commands.getoutput("qmake --version")
|
||||
result = re.search('(\d+)\.(\d+)\.(\d)', version)
|
||||
|
@ -786,21 +777,14 @@ class InternalCommands:
|
|||
|
||||
if sys.platform == 'win32':
|
||||
for target in targets:
|
||||
self.try_chdir(self.main_gui_dir)
|
||||
self.try_chdir(self.gui_dir)
|
||||
err = os.system(gui_make_cmd + ' ' + target)
|
||||
self.restore_chdir()
|
||||
|
||||
if err != 0:
|
||||
raise Exception(gui_make_cmd + ' failed with error: ' + str(err))
|
||||
|
||||
self.try_chdir(self.plugin_gui_dir)
|
||||
err = os.system(gui_make_cmd + ' ' + target)
|
||||
self.restore_chdir()
|
||||
|
||||
|
||||
if err != 0:
|
||||
raise Exception(gui_make_cmd + ' failed with error: ' + str(err))
|
||||
else:
|
||||
self.try_chdir(self.main_gui_dir)
|
||||
self.try_chdir(self.gui_dir)
|
||||
err = os.system(gui_make_cmd)
|
||||
self.restore_chdir()
|
||||
|
||||
|
@ -813,13 +797,6 @@ class InternalCommands:
|
|||
|
||||
self.fixQtFrameworksLayout()
|
||||
|
||||
self.try_chdir(self.plugin_gui_dir)
|
||||
err = os.system(gui_make_cmd)
|
||||
self.restore_chdir()
|
||||
|
||||
if err != 0:
|
||||
raise Exception(gui_make_cmd + ' failed with error: ' + str(err))
|
||||
|
||||
def symlink(self, source, target):
|
||||
if not os.path.exists(target):
|
||||
os.symlink(source, target)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue