- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
P2: Important
 - 
    6.6.1
 - 
    None
 
- 
        
 - 
        d2d71f77a (dev)
 
The attached project complains with
Warning: /Users/user/untitled/Main.qml:12:26: Member "setColorAlpha" not found on type "undefined" [missing-property] color: Functions.setColorAlpha(Qt.color("orange"), 0.15) ^^^^^^^^^^^^^
when running all_qmllint
the JS library is imported with
import "SharedFunctions.js" as Functions
and added into the qml module
qt_add_qml_module(appuntitled URI untitled VERSION 1.0 QML_FILES Main.qml SharedFunctions.js )
So it is my understanding this should work fine.
- relates to
 - 
                    
QTBUG-100444 qmllint does not like variables in javascript files/modules
-         
 - Closed
 
 -         
 - 
                    
QTBUG-124498 qmltyperesolver can't handle ECMAScript resources
-         
 - Closed
 
 -         
 
| For Gerrit Dashboard: QTBUG-120551 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 540387,8 | qmllint: do not complain about JS types | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |