GithubHelp home page GithubHelp logo

Comments (2)

sukoi26 avatar sukoi26 commented on June 14, 2024

ok change done in Sconscript

       bpath = env.GetBuildPath('#src/mtsgui')
        qtInterfaces = [qtEnv.Uic5(uic) for uic in scanFiles(bpath, ['*.ui'])]
-#        qtResources = [qtEnv.Qrc5('',qrc) for qrc in scanFiles(bpath, ['*.qrc'])]
        qtSources = scanFiles(bpath, ['*.cpp']) + resources // + qtResources

        if hasCollada:
                qtSources += converter_objects
                if env.has_key('COLLADALIBDIR'):
                        qtEnv.Prepend(LIBPATH=env['COLLADALIBDIR'])
                if env.has_key('COLLADALIB'):
                        qtEnv.Prepend(LIBS=env['COLLADALIB'])

        if sys.platform == 'darwin':
                mainEnv_osx = mainEnv.Clone()
                qtEnv_osx = qtEnv.Clone()
                mainEnv_osx.ConfigureForObjectiveCPP()
                qtEnv_osx.ConfigureForObjectiveCPP()
                mainEnv_osx.Program('symlinks_install', ['symlinks_install.c'])
                qtEnv_osx['CXXFLAGS'].append(['-Fdependencies/frameworks', '-framework', 'BWToolkitFramework'])
                qtSources += qtEnv_osx.StaticObject('previewsettingsdlg_cocoa_impl.mm')
        else:
                qtSources = [x for x in qtSources if (not isinstance(x, str) or 'cocoa' not in x)]

+        qtSources =  qtSources + Glob('*.qrc')
        mtsgui = qtEnv.Program('mtsgui', qtSources)

from mitsuba.

sukoi26 avatar sukoi26 commented on June 14, 2024

missing the change in qt5.py add a new version from scons
https://bitbucket.org/dirkbaechle/scons_qt5

from mitsuba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.