Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to make qmake compile SASS into CSS using qtsass?
Forum Updated to NodeBB v4.3 + New Features

How to make qmake compile SASS into CSS using qtsass?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 277 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Agron
    wrote on last edited by
    #1

    Hi,

    I have a sass file which needs to be compiled into CSS.
    I have appstyles.sass and I need to convert it to Qt style CSS appstyles.css and have it deployed to the the build folder, installed or sent to the remote server as part of deployment.

    Right now I am using a postbuild command like the bellow, but that's not the right way.

    qtsass -o appstyles.css appstyles.sass
    

    The right way should be something like in the makefile

    appstyle.css: appstyle.sass
    qtsass -o appstyles.css appstyles.sass
    

    But, how do I do that in the .pro file instead?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Take a look at the Adding compilers topic in qmake's documentation.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved