AWS安全组允许为允许的流量指定端口范围,以1234-5678
形式编写:包含端口1234
和5678
,或者不包括/ {这两个港口?
documentation似乎没有形容这一点。
答案 0 :(得分:1)
由于示例显示65536
而2 ^ 16是-1 - 65536
(否则它将是 QGuiApplication app(argc, argv);
QFontDatabase::addApplicationFont(":/fonts/DejaVuSans.ttf");
app.setFont(QFont("DejaVu Sans"));
// Now I am using Dialog like context property in qml
// qmlRegisterType<Dialog>("CustomExtensions",1,0,"Dialog");
Dialog dlg;
QQmlApplicationEngine engine;
// Now in qml we can access to dlg by "dialogObj" name
engine.rootContext()->setContextProperty("dialogObj", &dlg);
engine.load(QUrl(QStringLiteral("qrc:/qml/dashboard.qml")));
//QQmlApplicationEngine engine(QUrl("qrc:/qml/dashboard.qml")); ``
),而不是包含在内。