<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.qualys.com/role/BusinessCombinationDetails" xlink:href="qlys-20181231.xsd#BusinessCombinationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/BusinessCombinationNotes" xlink:href="qlys-20181231.xsd#BusinessCombinationNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/BusinessCombinationScheduleOfConsiderationAllocationDetails" xlink:href="qlys-20181231.xsd#BusinessCombinationScheduleOfConsiderationAllocationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/BusinessCombinationTables" xlink:href="qlys-20181231.xsd#BusinessCombinationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingencies" xlink:href="qlys-20181231.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:href="qlys-20181231.xsd#CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails" xlink:href="qlys-20181231.xsd#CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesTables" xlink:href="qlys-20181231.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPolicies" xlink:href="qlys-20181231.xsd#CompanyAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesDetails" xlink:href="qlys-20181231.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="qlys-20181231.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedBalanceSheets" xlink:href="qlys-20181231.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="qlys-20181231.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="qlys-20181231.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="qlys-20181231.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedStatementsOfOperations" xlink:href="qlys-20181231.xsd#ConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:href="qlys-20181231.xsd#ConsolidatedStatementsOfStockholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/DocumentAndEntityInformation" xlink:href="qlys-20181231.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlans" xlink:href="qlys-20181231.xsd#EmployeeStockAndBenefitPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansCommonStockAndPreferredStockDetails" xlink:href="qlys-20181231.xsd#EmployeeStockAndBenefitPlansCommonStockAndPreferredStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansExpenseDetails" xlink:href="qlys-20181231.xsd#EmployeeStockAndBenefitPlansExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansFairValueAssumptionsStockOptionsDetails" xlink:href="qlys-20181231.xsd#EmployeeStockAndBenefitPlansFairValueAssumptionsStockOptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansOptionsOutstandingAndVestedDetails" xlink:href="qlys-20181231.xsd#EmployeeStockAndBenefitPlansOptionsOutstandingAndVestedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansPlanInformationDetails" xlink:href="qlys-20181231.xsd#EmployeeStockAndBenefitPlansPlanInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansRestrictedStockDetails" xlink:href="qlys-20181231.xsd#EmployeeStockAndBenefitPlansRestrictedStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansRestrictedStockUnitsAndRestrictedStockAwardsActivityDetails" xlink:href="qlys-20181231.xsd#EmployeeStockAndBenefitPlansRestrictedStockUnitsAndRestrictedStockAwardsActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansShareRepurchaseProgramAnd401KPlanDetails" xlink:href="qlys-20181231.xsd#EmployeeStockAndBenefitPlansShareRepurchaseProgramAnd401KPlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansStockOptionActivityDetails" xlink:href="qlys-20181231.xsd#EmployeeStockAndBenefitPlansStockOptionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansTables" xlink:href="qlys-20181231.xsd#EmployeeStockAndBenefitPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstruments" xlink:href="qlys-20181231.xsd#FairValueOfFinancialInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsCashAndCashEquivalentsAvailableForSaleSecuritiesRestrictedCashReconciliationDetails" xlink:href="qlys-20181231.xsd#FairValueOfFinancialInstrumentsCashAndCashEquivalentsAvailableForSaleSecuritiesRestrictedCashReconciliationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsContractualMaturityDetails" xlink:href="qlys-20181231.xsd#FairValueOfFinancialInstrumentsContractualMaturityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsFairValueHierarchyDetails" xlink:href="qlys-20181231.xsd#FairValueOfFinancialInstrumentsFairValueHierarchyDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsNarrativeDetails" xlink:href="qlys-20181231.xsd#FairValueOfFinancialInstrumentsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsTables" xlink:href="qlys-20181231.xsd#FairValueOfFinancialInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNet" xlink:href="qlys-20181231.xsd#GoodwillAndIntangibleAssetsNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetDetails" xlink:href="qlys-20181231.xsd#GoodwillAndIntangibleAssetsNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetFutureAmortizationDetails" xlink:href="qlys-20181231.xsd#GoodwillAndIntangibleAssetsNetFutureAmortizationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetTables" xlink:href="qlys-20181231.xsd#GoodwillAndIntangibleAssetsNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxes" xlink:href="qlys-20181231.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails" xlink:href="qlys-20181231.xsd#IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesIncomeBeforeProvisionForBenefitFromIncomeTaxesDetails" xlink:href="qlys-20181231.xsd#IncomeTaxesIncomeBeforeProvisionForBenefitFromIncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesNarrativeDetails" xlink:href="qlys-20181231.xsd#IncomeTaxesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesProvisionForBenefitFromIncomeTaxesDetails" xlink:href="qlys-20181231.xsd#IncomeTaxesProvisionForBenefitFromIncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesTables" xlink:href="qlys-20181231.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesTaxRateReconciliationDetails" xlink:href="qlys-20181231.xsd#IncomeTaxesTaxRateReconciliationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:href="qlys-20181231.xsd#IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholders" xlink:href="qlys-20181231.xsd#NetIncomePerShareAttributableToCommonStockholders" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholdersDetails" xlink:href="qlys-20181231.xsd#NetIncomePerShareAttributableToCommonStockholdersDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholdersTables" xlink:href="qlys-20181231.xsd#NetIncomePerShareAttributableToCommonStockholdersTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/OtherIncomeExpenseNet" xlink:href="qlys-20181231.xsd#OtherIncomeExpenseNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/OtherIncomeExpenseNetDetails" xlink:href="qlys-20181231.xsd#OtherIncomeExpenseNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/OtherIncomeExpenseNetTables" xlink:href="qlys-20181231.xsd#OtherIncomeExpenseNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/PropertyAndEquipmentNet" xlink:href="qlys-20181231.xsd#PropertyAndEquipmentNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/PropertyAndEquipmentNetDetails" xlink:href="qlys-20181231.xsd#PropertyAndEquipmentNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/PropertyAndEquipmentNetTables" xlink:href="qlys-20181231.xsd#PropertyAndEquipmentNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/QuarterlyFinancialInformationUnaudited" xlink:href="qlys-20181231.xsd#QuarterlyFinancialInformationUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/QuarterlyFinancialInformationUnauditedDetails" xlink:href="qlys-20181231.xsd#QuarterlyFinancialInformationUnauditedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/QuarterlyFinancialInformationUnauditedTables" xlink:href="qlys-20181231.xsd#QuarterlyFinancialInformationUnauditedTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomers" xlink:href="qlys-20181231.xsd#RevenueFromContractsWithCustomers" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersAccountsReceivableNetDetails" xlink:href="qlys-20181231.xsd#RevenueFromContractsWithCustomersAccountsReceivableNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersCommissionAssetBalancesDetails" xlink:href="qlys-20181231.xsd#RevenueFromContractsWithCustomersCommissionAssetBalancesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersDeferredRevenuesDetails" xlink:href="qlys-20181231.xsd#RevenueFromContractsWithCustomersDeferredRevenuesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersNarrativeDetails" xlink:href="qlys-20181231.xsd#RevenueFromContractsWithCustomersNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersRevenueBySalesChannelDetails" xlink:href="qlys-20181231.xsd#RevenueFromContractsWithCustomersRevenueBySalesChannelDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersTables" xlink:href="qlys-20181231.xsd#RevenueFromContractsWithCustomersTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersUnbilledContractsDetails" xlink:href="qlys-20181231.xsd#RevenueFromContractsWithCustomersUnbilledContractsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ScheduleIiScheduleOfValuationAndQualifyingAccounts" xlink:href="qlys-20181231.xsd#ScheduleIiScheduleOfValuationAndQualifyingAccounts" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ScheduleIiScheduleOfValuationAndQualifyingAccountsDetails" xlink:href="qlys-20181231.xsd#ScheduleIiScheduleOfValuationAndQualifyingAccountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicArea" xlink:href="qlys-20181231.xsd#SegmentInformationAndInformationAboutGeographicArea" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaDetails" xlink:href="qlys-20181231.xsd#SegmentInformationAndInformationAboutGeographicAreaDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaTables" xlink:href="qlys-20181231.xsd#SegmentInformationAndInformationAboutGeographicAreaTables" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/BusinessCombinationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_79F7ECEE27A37CF571272594C5893D54" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_79F7ECEE27A37CF571272594C5893D54" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_703F064ACB5E4901430D25A336518B1A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_79F7ECEE27A37CF571272594C5893D54" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_703F064ACB5E4901430D25A336518B1A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_F77BAD6E4F2F2FBE43C625A3378F37E6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_703F064ACB5E4901430D25A336518B1A" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_F77BAD6E4F2F2FBE43C625A3378F37E6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_F77BAD6E4F2F2FBE43C625A3378F37E6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_703F064ACB5E4901430D25A336518B1A" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_F77BAD6E4F2F2FBE43C625A3378F37E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_166421DEE0C6D76960C125A359AD7BFF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_F77BAD6E4F2F2FBE43C625A3378F37E6" xlink:to="loc_us-gaap_SubsequentEventMember_166421DEE0C6D76960C125A359AD7BFF" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_AssetAcquisitionAxis" xlink:label="loc_qlys_AssetAcquisitionAxis_AAE1F3364DFC4CBBB31B2597BB612643" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_79F7ECEE27A37CF571272594C5893D54" xlink:to="loc_qlys_AssetAcquisitionAxis_AAE1F3364DFC4CBBB31B2597BB612643" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_AssetAcquisitionDomain" xlink:label="loc_qlys_AssetAcquisitionDomain_B3DBB26F66E59103A1F52597BB669877_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_qlys_AssetAcquisitionAxis_AAE1F3364DFC4CBBB31B2597BB612643" xlink:to="loc_qlys_AssetAcquisitionDomain_B3DBB26F66E59103A1F52597BB669877_default" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_AssetAcquisitionDomain" xlink:label="loc_qlys_AssetAcquisitionDomain_B3DBB26F66E59103A1F52597BB669877" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_qlys_AssetAcquisitionAxis_AAE1F3364DFC4CBBB31B2597BB612643" xlink:to="loc_qlys_AssetAcquisitionDomain_B3DBB26F66E59103A1F52597BB669877" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_AdyaAssetsAcquisitionMember" xlink:label="loc_qlys_AdyaAssetsAcquisitionMember_0A9B6999155BB4CF542525986EF82541" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_AssetAcquisitionDomain_B3DBB26F66E59103A1F52597BB669877" xlink:to="loc_qlys_AdyaAssetsAcquisitionMember_0A9B6999155BB4CF542525986EF82541" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_9A9CE1731CC1F37E743A2594C58A5113" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_79F7ECEE27A37CF571272594C5893D54" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_9A9CE1731CC1F37E743A2594C58A5113" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0159F02C2AE1305B5FC82594C58A02BD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_9A9CE1731CC1F37E743A2594C58A5113" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0159F02C2AE1305B5FC82594C58A02BD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0159F02C2AE1305B5FC82594C58A02BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_9A9CE1731CC1F37E743A2594C58A5113" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0159F02C2AE1305B5FC82594C58A02BD" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_LayeredInsightsMember" xlink:label="loc_qlys_LayeredInsightsMember_F394D141AC23D0CDCC752594C58B4BD3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0159F02C2AE1305B5FC82594C58A02BD" xlink:to="loc_qlys_LayeredInsightsMember_F394D141AC23D0CDCC752594C58B4BD3" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_A1MobilityMember" xlink:label="loc_qlys_A1MobilityMember_BD37B0F499B2ED5D37A82594C58B1D3A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0159F02C2AE1305B5FC82594C58A02BD" xlink:to="loc_qlys_A1MobilityMember_BD37B0F499B2ED5D37A82594C58B1D3A" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_NevisNetworksPrivateLimitedMember" xlink:label="loc_qlys_NevisNetworksPrivateLimitedMember_E5DB1CEE3D25C4D512FD2594C58BD9B2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0159F02C2AE1305B5FC82594C58A02BD" xlink:to="loc_qlys_NevisNetworksPrivateLimitedMember_E5DB1CEE3D25C4D512FD2594C58BD9B2" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_DefensativeLLCNetWatcherMember" xlink:label="loc_qlys_DefensativeLLCNetWatcherMember_C96ED469AD96DBF27E722594C58C7CD1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0159F02C2AE1305B5FC82594C58A02BD" xlink:to="loc_qlys_DefensativeLLCNetWatcherMember_C96ED469AD96DBF27E722594C58C7CD1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_BFAEC4553BB78B137FE72594C58CD4C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_BFAEC4553BB78B137FE72594C58CD4C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_AFE7F05BB44105BCF0282594C58CA95A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:to="loc_us-gaap_Goodwill_AFE7F05BB44105BCF0282594C58CA95A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_C0D5E5863AA1C91CA8F02594C58CC4A2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_C0D5E5863AA1C91CA8F02594C58CC4A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredOther1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredOther1_83CD0D08E1FE41D557042594C58CCA96" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredOther1_83CD0D08E1FE41D557042594C58CCA96" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_BusinessCombinationAdditionalConsideration" xlink:label="loc_qlys_BusinessCombinationAdditionalConsideration_E2DAB42E482827F11BD62594C58CD624" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:to="loc_qlys_BusinessCombinationAdditionalConsideration_E2DAB42E482827F11BD62594C58CD624" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_BusinessCombinationEarnoutMilestone" xlink:label="loc_qlys_BusinessCombinationEarnoutMilestone_60C2BAC18E69D07EDD882594C58DF483" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:to="loc_qlys_BusinessCombinationEarnoutMilestone_60C2BAC18E69D07EDD882594C58DF483" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_BusinessCombinationFuturePaymentsToKeyEmployees" xlink:label="loc_qlys_BusinessCombinationFuturePaymentsToKeyEmployees_48024B1FCB2C9C15C7DC2594C58DB8A3" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:to="loc_qlys_BusinessCombinationFuturePaymentsToKeyEmployees_48024B1FCB2C9C15C7DC2594C58DB8A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_DB9B4D85B0DDD8CA3DAE2594C58DC590" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_DB9B4D85B0DDD8CA3DAE2594C58DC590" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_FuturePaymentsForContinuedEmploymentFirstAnniversary" xlink:label="loc_qlys_FuturePaymentsForContinuedEmploymentFirstAnniversary_C0B2911C16C10CDEF3322594C58D8A00" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:to="loc_qlys_FuturePaymentsForContinuedEmploymentFirstAnniversary_C0B2911C16C10CDEF3322594C58D8A00" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_FuturePaymentsForContinuedEmploymentSecondAnniversary" xlink:label="loc_qlys_FuturePaymentsForContinuedEmploymentSecondAnniversary_C1519247560D786155162594C58D387E" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:to="loc_qlys_FuturePaymentsForContinuedEmploymentSecondAnniversary_C1519247560D786155162594C58D387E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_AFDB0A8D280AFAB052F72594C58DDCF0" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_AFDB0A8D280AFAB052F72594C58DDCF0" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_PaymentsForAssetAcquisitions" xlink:label="loc_qlys_PaymentsForAssetAcquisitions_5F29F29B1651C76D28EA25974DEA997F" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:to="loc_qlys_PaymentsForAssetAcquisitions_5F29F29B1651C76D28EA25974DEA997F" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_PaymentsForAssetAcquisitionsPayableInFutureRound1" xlink:label="loc_qlys_PaymentsForAssetAcquisitionsPayableInFutureRound1_6232FFE239390F6F059725A0DA194954" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:to="loc_qlys_PaymentsForAssetAcquisitionsPayableInFutureRound1_6232FFE239390F6F059725A0DA194954" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_PaymentsForAssetAcquisitionsPayableInFutureRound2" xlink:label="loc_qlys_PaymentsForAssetAcquisitionsPayableInFutureRound2_DFF015D1F8EC72FD3E9725A29C3219CB" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_556D4C879A91980999D52594C58C1403" xlink:to="loc_qlys_PaymentsForAssetAcquisitionsPayableInFutureRound2_DFF015D1F8EC72FD3E9725A29C3219CB" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/BusinessCombinationNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/BusinessCombinationScheduleOfConsiderationAllocationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_661C85CD2494D38D58FD10B2C4242307" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_8671BD4960297C78DDB910B2C420BFE0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_661C85CD2494D38D58FD10B2C4242307" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_8671BD4960297C78DDB910B2C420BFE0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_77881EE1536EF0F4F7D410B2C4218C22" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_8671BD4960297C78DDB910B2C420BFE0" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_77881EE1536EF0F4F7D410B2C4218C22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ED957EAB4EBA97BAE67010B2C421C75A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_77881EE1536EF0F4F7D410B2C4218C22" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ED957EAB4EBA97BAE67010B2C421C75A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ED957EAB4EBA97BAE67010B2C421C75A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_77881EE1536EF0F4F7D410B2C4218C22" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ED957EAB4EBA97BAE67010B2C421C75A" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_A1MobilityMember" xlink:label="loc_qlys_A1MobilityMember_BF183CD3725F8C876A0510B2C421AC88" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ED957EAB4EBA97BAE67010B2C421C75A" xlink:to="loc_qlys_A1MobilityMember_BF183CD3725F8C876A0510B2C421AC88" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_LayeredInsightsMember" xlink:label="loc_qlys_LayeredInsightsMember_15FDA0895F16A7E1DC4010B2C423B759" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ED957EAB4EBA97BAE67010B2C421C75A" xlink:to="loc_qlys_LayeredInsightsMember_15FDA0895F16A7E1DC4010B2C423B759" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_NevisNetworksPrivateLimitedMember" xlink:label="loc_qlys_NevisNetworksPrivateLimitedMember_447B41C3BDB159C2CD2010B2C4237A8A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ED957EAB4EBA97BAE67010B2C421C75A" xlink:to="loc_qlys_NevisNetworksPrivateLimitedMember_447B41C3BDB159C2CD2010B2C4237A8A" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_DefensativeLLCNetWatcherMember" xlink:label="loc_qlys_DefensativeLLCNetWatcherMember_AA95616DF267139BC91910B2C42328F5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ED957EAB4EBA97BAE67010B2C421C75A" xlink:to="loc_qlys_DefensativeLLCNetWatcherMember_AA95616DF267139BC91910B2C42328F5" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_NevisAndNetWatcherMember" xlink:label="loc_qlys_NevisAndNetWatcherMember_C570A2660B90F78D1D3F10B2C424F4EA" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ED957EAB4EBA97BAE67010B2C421C75A" xlink:to="loc_qlys_NevisAndNetWatcherMember_C570A2660B90F78D1D3F10B2C424F4EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_61646088901DCFC4376C10B2C424151C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_661C85CD2494D38D58FD10B2C4242307" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_61646088901DCFC4376C10B2C424151C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_0BE850089071B8B3B8E410B2C4248A72" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_661C85CD2494D38D58FD10B2C4242307" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_0BE850089071B8B3B8E410B2C4248A72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_9617E7735D126F954D6110B2C424D41A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_661C85CD2494D38D58FD10B2C4242307" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_9617E7735D126F954D6110B2C424D41A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_00B927AA196C349A651310B2C42505BB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_661C85CD2494D38D58FD10B2C4242307" xlink:to="loc_us-gaap_Goodwill_00B927AA196C349A651310B2C42505BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_8CD76895D0EC59DF365D10B879BC6EA9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_661C85CD2494D38D58FD10B2C4242307" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_8CD76895D0EC59DF365D10B879BC6EA9" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/BusinessCombinationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasedAssetsLineItems" xlink:label="loc_us-gaap_OperatingLeasedAssetsLineItems_EB96945E3DB252AC8DDA6F94C32A85F6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfOperatingLeasedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_C6B2CDBAA7BB5465860C458E419DB7F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_EB96945E3DB252AC8DDA6F94C32A85F6" xlink:to="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_C6B2CDBAA7BB5465860C458E419DB7F7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeAxis" xlink:label="loc_us-gaap_LeaseArrangementTypeAxis_331F401D57C8555FA2167299EBEB51A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_C6B2CDBAA7BB5465860C458E419DB7F7" xlink:to="loc_us-gaap_LeaseArrangementTypeAxis_331F401D57C8555FA2167299EBEB51A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_9C5C167EE2244D23A19B980B6F3118BE_FB6578C4586055499EEF98C871E06923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_331F401D57C8555FA2167299EBEB51A1" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_9C5C167EE2244D23A19B980B6F3118BE_FB6578C4586055499EEF98C871E06923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_1EB7D2A0C1335346BCF90ECDF21487E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_331F401D57C8555FA2167299EBEB51A1" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_1EB7D2A0C1335346BCF90ECDF21487E1" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_LeaseAgreementForHeadquartersMember" xlink:label="loc_qlys_LeaseAgreementForHeadquartersMember_54A3E62351E55756B1F9E8453FE606B5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_1EB7D2A0C1335346BCF90ECDF21487E1" xlink:to="loc_qlys_LeaseAgreementForHeadquartersMember_54A3E62351E55756B1F9E8453FE606B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_15FD119710C9550AB755D3C08FEE1801" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_C6B2CDBAA7BB5465860C458E419DB7F7" xlink:to="loc_us-gaap_CreditFacilityAxis_15FD119710C9550AB755D3C08FEE1801" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_82FFCE22CCC9B5ECB709980B6F31EFA2_FB6578C4586055499EEF98C871E06923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_15FD119710C9550AB755D3C08FEE1801" xlink:to="loc_us-gaap_CreditFacilityDomain_82FFCE22CCC9B5ECB709980B6F31EFA2_FB6578C4586055499EEF98C871E06923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_A94A57D0B08055AA8827A7ECF63EDB3D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_15FD119710C9550AB755D3C08FEE1801" xlink:to="loc_us-gaap_CreditFacilityDomain_A94A57D0B08055AA8827A7ECF63EDB3D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandbyLettersOfCreditMember" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_C2AD1AD8BF795A0CA4C00D986081CF77" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_A94A57D0B08055AA8827A7ECF63EDB3D" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_C2AD1AD8BF795A0CA4C00D986081CF77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract" xlink:label="loc_us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract_D44FE660029B55F1A9902FCBCF39E723" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_EB96945E3DB252AC8DDA6F94C32A85F6" xlink:to="loc_us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract_D44FE660029B55F1A9902FCBCF39E723" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_036E635559565BC19361FDBCD19278B7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_EB96945E3DB252AC8DDA6F94C32A85F6" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_036E635559565BC19361FDBCD19278B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_3FB19F22D32B56A9915D3AF7B7FD5EFE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_EB96945E3DB252AC8DDA6F94C32A85F6" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_3FB19F22D32B56A9915D3AF7B7FD5EFE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_212D9E1545895AB580F610B2C498D82B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_DerivativeTable_212D9E1545895AB580F610B2C498D82B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_4E92E5F0EF7545FBA64710B2C498A314" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_212D9E1545895AB580F610B2C498D82B" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_4E92E5F0EF7545FBA64710B2C498A314" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_4BE2CC6A1F80FF5BC13A10B2C4995363_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_4E92E5F0EF7545FBA64710B2C498A314" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_4BE2CC6A1F80FF5BC13A10B2C4995363_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_4BE2CC6A1F80FF5BC13A10B2C4995363" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_4E92E5F0EF7545FBA64710B2C498A314" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_4BE2CC6A1F80FF5BC13A10B2C4995363" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_89FCEF087914CB8981D910B2C499289F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_4BE2CC6A1F80FF5BC13A10B2C4995363" xlink:to="loc_us-gaap_SubsequentEventMember_89FCEF087914CB8981D910B2C499289F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D0FAECC9A6CE92B4471610B2C4998782" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_212D9E1545895AB580F610B2C498D82B" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D0FAECC9A6CE92B4471610B2C4998782" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_A4F27FF10FD8F8C965A110B2C4998C66_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D0FAECC9A6CE92B4471610B2C4998782" xlink:to="loc_us-gaap_TypeOfAdoptionMember_A4F27FF10FD8F8C965A110B2C4998C66_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_A4F27FF10FD8F8C965A110B2C4998C66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D0FAECC9A6CE92B4471610B2C4998782" xlink:to="loc_us-gaap_TypeOfAdoptionMember_A4F27FF10FD8F8C965A110B2C4998C66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_C190A558C1AD6D91F40C10B2C49AB631" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_A4F27FF10FD8F8C965A110B2C4998C66" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_C190A558C1AD6D91F40C10B2C49AB631" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis" xlink:label="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_236E73935B27A45CCE0410B2C49BDA0F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_212D9E1545895AB580F610B2C498D82B" xlink:to="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_236E73935B27A45CCE0410B2C49BDA0F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_E2600D9AFE730107EDD610B2C49B3710_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_236E73935B27A45CCE0410B2C49BDA0F" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_E2600D9AFE730107EDD610B2C49B3710_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_E2600D9AFE730107EDD610B2C49B3710" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_236E73935B27A45CCE0410B2C49BDA0F" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_E2600D9AFE730107EDD610B2C49B3710" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_A5AF7ABC6B93ECDFE16110B2C49B3F3E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingPrincipleMember_E2600D9AFE730107EDD610B2C49B3710" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_A5AF7ABC6B93ECDFE16110B2C49B3F3E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_3FC95891A6B49CC1E40D10B2C49C7124" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingPrincipleMember_E2600D9AFE730107EDD610B2C49B3710" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_3FC95891A6B49CC1E40D10B2C49C7124" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_0C761E8A702D33EBF11210B2C49C4F88" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_212D9E1545895AB580F610B2C498D82B" xlink:to="loc_us-gaap_StatementScenarioAxis_0C761E8A702D33EBF11210B2C49C4F88" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_A97E85F5436E2D450AF910B2C49C62B0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_0C761E8A702D33EBF11210B2C49C4F88" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_A97E85F5436E2D450AF910B2C49C62B0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_A97E85F5436E2D450AF910B2C49C62B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_0C761E8A702D33EBF11210B2C49C4F88" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_A97E85F5436E2D450AF910B2C49C62B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioForecastMember" xlink:label="loc_us-gaap_ScenarioForecastMember_53485F18E97556BD209810B2C49D0870" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_A97E85F5436E2D450AF910B2C49C62B0" xlink:to="loc_us-gaap_ScenarioForecastMember_53485F18E97556BD209810B2C49D0870" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_273857358327C96B2FF810B2C49DA3EC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_212D9E1545895AB580F610B2C498D82B" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_273857358327C96B2FF810B2C49DA3EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_37B36A98948E9EB14A8210B2C49D1DB4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_273857358327C96B2FF810B2C49DA3EC" xlink:to="loc_us-gaap_EquityComponentDomain_37B36A98948E9EB14A8210B2C49D1DB4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_37B36A98948E9EB14A8210B2C49D1DB4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_273857358327C96B2FF810B2C49DA3EC" xlink:to="loc_us-gaap_EquityComponentDomain_37B36A98948E9EB14A8210B2C49D1DB4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_A45F0FA45CD3D77A938310B2C49D2B2B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_37B36A98948E9EB14A8210B2C49D1DB4" xlink:to="loc_us-gaap_RetainedEarningsMember_A45F0FA45CD3D77A938310B2C49D2B2B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_3B8D7231B3C101A2826D10B2C49DF6AF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_212D9E1545895AB580F610B2C498D82B" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_3B8D7231B3C101A2826D10B2C49DF6AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_F6604199E41358A811E810B2C49E6A18_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_3B8D7231B3C101A2826D10B2C49DF6AF" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_F6604199E41358A811E810B2C49E6A18_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_F6604199E41358A811E810B2C49E6A18" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_3B8D7231B3C101A2826D10B2C49DF6AF" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_F6604199E41358A811E810B2C49E6A18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CustomerConcentrationRiskMember" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_AEA0F441A6E22A50B70C10B2C49E9902" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_F6604199E41358A811E810B2C49E6A18" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_AEA0F441A6E22A50B70C10B2C49E9902" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_C1CE964E0D7229D8141010B2C49ED579" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_212D9E1545895AB580F610B2C498D82B" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_C1CE964E0D7229D8141010B2C49ED579" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_4A4E45683EB735F3EBC010B2C49E8A80_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_C1CE964E0D7229D8141010B2C49ED579" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_4A4E45683EB735F3EBC010B2C49E8A80_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_4A4E45683EB735F3EBC010B2C49E8A80" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_C1CE964E0D7229D8141010B2C49ED579" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_4A4E45683EB735F3EBC010B2C49E8A80" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableMember" xlink:label="loc_us-gaap_AccountsReceivableMember_18B349C3BBCAC9B881B810B2C49F720F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_4A4E45683EB735F3EBC010B2C49E8A80" xlink:to="loc_us-gaap_AccountsReceivableMember_18B349C3BBCAC9B881B810B2C49F720F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_D634BAA651BAB3C26ABE10B2C49FD243" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_212D9E1545895AB580F610B2C498D82B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_D634BAA651BAB3C26ABE10B2C49FD243" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_852506A8FFAA1C0CE3D110B2C49F29D7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_D634BAA651BAB3C26ABE10B2C49FD243" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_852506A8FFAA1C0CE3D110B2C49F29D7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_852506A8FFAA1C0CE3D110B2C49F29D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_D634BAA651BAB3C26ABE10B2C49FD243" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_852506A8FFAA1C0CE3D110B2C49F29D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_01057C9DE35D94C8D69310B2C49F4DCA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_852506A8FFAA1C0CE3D110B2C49F29D7" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_01057C9DE35D94C8D69310B2C49F4DCA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_5292AAEC81D17115DC1910B2C4A08CF5" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_212D9E1545895AB580F610B2C498D82B" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_5292AAEC81D17115DC1910B2C4A08CF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_58375E0784CFA1735ACC10B2C4A07D5E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_5292AAEC81D17115DC1910B2C4A08CF5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_58375E0784CFA1735ACC10B2C4A07D5E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_58375E0784CFA1735ACC10B2C4A07D5E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_5292AAEC81D17115DC1910B2C4A08CF5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_58375E0784CFA1735ACC10B2C4A07D5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_465ABF95AF049A2BB46510B2C4A061B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_58375E0784CFA1735ACC10B2C4A07D5E" xlink:to="loc_us-gaap_ForeignExchangeContractMember_465ABF95AF049A2BB46510B2C4A061B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_FB1E2FDF2EE97E81E33510B2C4A0EF45" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_58375E0784CFA1735ACC10B2C4A07D5E" xlink:to="loc_us-gaap_ForwardContractsMember_FB1E2FDF2EE97E81E33510B2C4A0EF45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_147C6E8D933A739BE2FF10B2C4A1CC69" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_212D9E1545895AB580F610B2C498D82B" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_147C6E8D933A739BE2FF10B2C4A1CC69" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_280CFF2126D534243DA310B2C4A13206_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_147C6E8D933A739BE2FF10B2C4A1CC69" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_280CFF2126D534243DA310B2C4A13206_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_280CFF2126D534243DA310B2C4A13206" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_147C6E8D933A739BE2FF10B2C4A1CC69" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_280CFF2126D534243DA310B2C4A13206" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ScannerAppliancesMember" xlink:label="loc_qlys_ScannerAppliancesMember_403550DBD79EB48245F710B2C4A1C760" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_280CFF2126D534243DA310B2C4A13206" xlink:to="loc_qlys_ScannerAppliancesMember_403550DBD79EB48245F710B2C4A1C760" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_278C86B1A3E12C3BD20110B2C4A1FBCF" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_212D9E1545895AB580F610B2C498D82B" xlink:to="loc_us-gaap_RangeAxis_278C86B1A3E12C3BD20110B2C4A1FBCF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_28C49B251083DEC37D5610B2C4A175C2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_278C86B1A3E12C3BD20110B2C4A1FBCF" xlink:to="loc_us-gaap_RangeMember_28C49B251083DEC37D5610B2C4A175C2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_28C49B251083DEC37D5610B2C4A175C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_278C86B1A3E12C3BD20110B2C4A1FBCF" xlink:to="loc_us-gaap_RangeMember_28C49B251083DEC37D5610B2C4A175C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_D4E83BF53AF65ECC2DC910B2C4A28BB3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_28C49B251083DEC37D5610B2C4A175C2" xlink:to="loc_us-gaap_MinimumMember_D4E83BF53AF65ECC2DC910B2C4A28BB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_BDA5257D1AA653284D1310B2C4A26CEA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_28C49B251083DEC37D5610B2C4A175C2" xlink:to="loc_us-gaap_MaximumMember_BDA5257D1AA653284D1310B2C4A26CEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_C8BEEDA6827F10ABD74910FC90CB32B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_C8BEEDA6827F10ABD74910FC90CB32B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_D41DF94364519BEEAD8210B2C4A2164D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_D41DF94364519BEEAD8210B2C4A2164D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalizedComputerSoftwareGross" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareGross_18AA9EB2242E84B4528F10B2C4A2EAC6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareGross_18AA9EB2242E84B4528F10B2C4A2EAC6" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_CapitalizedComputerSoftwareUnamortized" xlink:label="loc_qlys_CapitalizedComputerSoftwareUnamortized_447AC79F9C0907E40E2D10B2C4A3D7EC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_qlys_CapitalizedComputerSoftwareUnamortized_447AC79F9C0907E40E2D10B2C4A3D7EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaap_LongTermInvestments_66762EA0B0FD4D76240F10B2C4A31AE1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_LongTermInvestments_66762EA0B0FD4D76240F10B2C4A31AE1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_5306D930AB045AB24F0910B2C4A3861D" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_5306D930AB045AB24F0910B2C4A3861D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfRevenue" xlink:label="loc_us-gaap_CostOfRevenue_178B8E79AE097BB55ABB10B2C4A3BB12" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_CostOfRevenue_178B8E79AE097BB55ABB10B2C4A3BB12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_73FA16F4B4B7767519C410B2C4A425B7" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_73FA16F4B4B7767519C410B2C4A425B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingAndMarketingExpense" xlink:label="loc_us-gaap_SellingAndMarketingExpense_8DA50C2E1D8ED44B187D10B2C4A4D99E" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_SellingAndMarketingExpense_8DA50C2E1D8ED44B187D10B2C4A4D99E" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ConcentrationOfCreditRiskAbstract" xlink:label="loc_qlys_ConcentrationOfCreditRiskAbstract_DE8C3E97E93E90582BF910B2C4A404A3" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_qlys_ConcentrationOfCreditRiskAbstract_DE8C3E97E93E90582BF910B2C4A404A3" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ConcentrationRiskNumberOfCustomers" xlink:label="loc_qlys_ConcentrationRiskNumberOfCustomers_2E51C2096BFCBA5C6BA710B2C4A4C012" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ConcentrationOfCreditRiskAbstract_DE8C3E97E93E90582BF910B2C4A404A3" xlink:to="loc_qlys_ConcentrationRiskNumberOfCustomers_2E51C2096BFCBA5C6BA710B2C4A4C012" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAbstract_1BA103A6A2165107520E10B2C4A44D84" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAbstract_1BA103A6A2165107520E10B2C4A44D84" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_FD17243299118BFC11D210B2C4A4546E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAbstract_1BA103A6A2165107520E10B2C4A44D84" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_FD17243299118BFC11D210B2C4A4546E" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_GoodwillAndIntangibleAssetsNetAbstract" xlink:label="loc_qlys_GoodwillAndIntangibleAssetsNetAbstract_D45134A8C0F7C712020210B2C4A5DEB3" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_qlys_GoodwillAndIntangibleAssetsNetAbstract_D45134A8C0F7C712020210B2C4A5DEB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_0F327D7EA977EA6983EC10B2C4A5254E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_GoodwillAndIntangibleAssetsNetAbstract_D45134A8C0F7C712020210B2C4A5DEB3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_0F327D7EA977EA6983EC10B2C4A5254E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentAbstract" xlink:label="loc_us-gaap_ResearchAndDevelopmentAbstract_381DD1F74E8A3C83A45F10B2C4A548D7" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_ResearchAndDevelopmentAbstract_381DD1F74E8A3C83A45F10B2C4A548D7" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_CapitalizedSoftwareDevelopmentCosts" xlink:label="loc_qlys_CapitalizedSoftwareDevelopmentCosts_72E56784CA1EE8941FF510B2C4A527C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ResearchAndDevelopmentAbstract_381DD1F74E8A3C83A45F10B2C4A548D7" xlink:to="loc_qlys_CapitalizedSoftwareDevelopmentCosts_72E56784CA1EE8941FF510B2C4A527C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_0F7430091198BBB63DCA10B2C4A64C18" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ResearchAndDevelopmentAbstract_381DD1F74E8A3C83A45F10B2C4A548D7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_0F7430091198BBB63DCA10B2C4A64C18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_21FB61CBDFE0B6672FF410B2C4A684A3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ResearchAndDevelopmentAbstract_381DD1F74E8A3C83A45F10B2C4A548D7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_21FB61CBDFE0B6672FF410B2C4A684A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SummaryOfDerivativeInstrumentsAbstract" xlink:label="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_37C2D8DC9EC16653786310B2C4A6DB2A" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_37C2D8DC9EC16653786310B2C4A6DB2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_0F4B22E7EFE71C41E61E10B2C4A7DD9F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_37C2D8DC9EC16653786310B2C4A6DB2A" xlink:to="loc_invest_DerivativeNotionalAmount_0F4B22E7EFE71C41E61E10B2C4A7DD9F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_CED1D1318C844394B57510B2C4A7503B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_37C2D8DC9EC16653786310B2C4A6DB2A" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_CED1D1318C844394B57510B2C4A7503B" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_OtherForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_qlys_OtherForeignCurrencyTransactionGainLossBeforeTax_1C284C704B8529D403F410B2C4A7C23A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_37C2D8DC9EC16653786310B2C4A6DB2A" xlink:to="loc_qlys_OtherForeignCurrencyTransactionGainLossBeforeTax_1C284C704B8529D403F410B2C4A7C23A" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax" xlink:label="loc_qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax_FBF13E970A09E77897C610B2C4A71A45" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_37C2D8DC9EC16653786310B2C4A6DB2A" xlink:to="loc_qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax_FBF13E970A09E77897C610B2C4A71A45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MarketingAndAdvertisingExpenseAbstract" xlink:label="loc_us-gaap_MarketingAndAdvertisingExpenseAbstract_1257368CC1AAEAB4785210B2C4A7A6F9" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_MarketingAndAdvertisingExpenseAbstract_1257368CC1AAEAB4785210B2C4A7A6F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdvertisingExpense" xlink:label="loc_us-gaap_AdvertisingExpense_F24ED553082A11B8EEB910B2C4A861BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketingAndAdvertisingExpenseAbstract_1257368CC1AAEAB4785210B2C4A7A6F9" xlink:to="loc_us-gaap_AdvertisingExpense_F24ED553082A11B8EEB910B2C4A861BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_087278BA3FB068B28F3D10B2C4A87B93" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_IncomeTaxDisclosureAbstract_087278BA3FB068B28F3D10B2C4A87B93" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit" xlink:label="loc_qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit_17D2394F9D2FEF8B4E8810B2C4A836F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_087278BA3FB068B28F3D10B2C4A87B93" xlink:to="loc_qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit_17D2394F9D2FEF8B4E8810B2C4A836F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_9A7A7B7CF5FB4D9A988110B2C4A8258E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_087278BA3FB068B28F3D10B2C4A87B93" xlink:to="loc_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_9A7A7B7CF5FB4D9A988110B2C4A8258E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_F718444F3CB2B24E8B4D10B2C4A80742" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_087278BA3FB068B28F3D10B2C4A87B93" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_F718444F3CB2B24E8B4D10B2C4A80742" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_758E76DFC98C6BF7909410B2C4A9487D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_087278BA3FB068B28F3D10B2C4A87B93" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_758E76DFC98C6BF7909410B2C4A9487D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsNoncurrent" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_9BF899E5ABC67BD44AE410B2C4A975E1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_087278BA3FB068B28F3D10B2C4A87B93" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_9BF899E5ABC67BD44AE410B2C4A975E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_15AB1151622CD0E95CB510B2C4A92A07" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_15AB1151622CD0E95CB510B2C4A92A07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_537158FDF5D11C4B2E9110B2C4A9A16E" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_OperatingLeaseLiability_537158FDF5D11C4B2E9110B2C4A9A16E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRentReceivablesNet" xlink:label="loc_us-gaap_DeferredRentReceivablesNet_CD0DECCE0AE4EE62986610B2C4AA68E0" xlink:type="locator" />
    <link:definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_A0F547CF567A83BDCD8210B2C4A2DC5E" xlink:to="loc_us-gaap_DeferredRentReceivablesNet_CD0DECCE0AE4EE62986610B2C4AA68E0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedStatementsOfOperations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_C1DD48D8CCAFB9909C4F10B2C4C42B56" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_2CE720FBE301FF46C2CD10B2C4C261BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_C1DD48D8CCAFB9909C4F10B2C4C42B56" xlink:to="loc_us-gaap_StatementTable_2CE720FBE301FF46C2CD10B2C4C261BB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis" xlink:label="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_7CF45C9F059A94A3311A10B2C4C28CE2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_2CE720FBE301FF46C2CD10B2C4C261BB" xlink:to="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_7CF45C9F059A94A3311A10B2C4C28CE2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_B022CDC8A132ABA9B93710B2C4C28AA7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_7CF45C9F059A94A3311A10B2C4C28CE2" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_B022CDC8A132ABA9B93710B2C4C28AA7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_B022CDC8A132ABA9B93710B2C4C28AA7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_7CF45C9F059A94A3311A10B2C4C28CE2" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_B022CDC8A132ABA9B93710B2C4C28AA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_35498846DD266C1B3AE610B2C4C317BA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingPrincipleMember_B022CDC8A132ABA9B93710B2C4C28AA7" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_35498846DD266C1B3AE610B2C4C317BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_92AAD398B0A73C8626AC10B2C4C3CDCC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_2CE720FBE301FF46C2CD10B2C4C261BB" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_92AAD398B0A73C8626AC10B2C4C3CDCC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_F03B76A690DD8F00774C10B2C4C3A71C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_92AAD398B0A73C8626AC10B2C4C3CDCC" xlink:to="loc_us-gaap_EquityComponentDomain_F03B76A690DD8F00774C10B2C4C3A71C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_F03B76A690DD8F00774C10B2C4C3A71C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_92AAD398B0A73C8626AC10B2C4C3CDCC" xlink:to="loc_us-gaap_EquityComponentDomain_F03B76A690DD8F00774C10B2C4C3A71C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_370995D269600DD219D010B2C4C374C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_F03B76A690DD8F00774C10B2C4C3A71C" xlink:to="loc_us-gaap_CommonStockMember_370995D269600DD219D010B2C4C374C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_B1B5830BA9D0FAC02B7A10B2C4C39EF7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_F03B76A690DD8F00774C10B2C4C3A71C" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_B1B5830BA9D0FAC02B7A10B2C4C39EF7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_098B993A2EAC7F4412B110B2C4C4B4A4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_F03B76A690DD8F00774C10B2C4C3A71C" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_098B993A2EAC7F4412B110B2C4C4B4A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_63A30645DC2F2540550E10B2C4C4587A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_F03B76A690DD8F00774C10B2C4C3A71C" xlink:to="loc_us-gaap_RetainedEarningsMember_63A30645DC2F2540550E10B2C4C4587A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_9942B9902BAE95774DB510B2C4C42181" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C1DD48D8CCAFB9909C4F10B2C4C42B56" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_9942B9902BAE95774DB510B2C4C42181" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C1DD48D8CCAFB9909C4F10B2C4C42B56" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_4FC49C8021B0C7A8096410B2C4C5F1CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_us-gaap_StockholdersEquity_4FC49C8021B0C7A8096410B2C4C5F1CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharesOutstanding" xlink:label="loc_us-gaap_SharesOutstanding_C660CD48679B92F651C310B2C4C598EB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_us-gaap_SharesOutstanding_C660CD48679B92F651C310B2C4C598EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_32FA7BD79EB2E62CF17B10B2C4C5C1EF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_us-gaap_NetIncomeLoss_32FA7BD79EB2E62CF17B10B2C4C5C1EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_4B5CB07CFEC2E1DE286F10C9770A410C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_4B5CB07CFEC2E1DE286F10C9770A410C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_12351C330FC9B501183B10B2C4C5C3AA" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_12351C330FC9B501183B10B2C4C5C3AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_B8C3FC96AF6D6F2EE80310B2C4C57E4C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_B8C3FC96AF6D6F2EE80310B2C4C57E4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_5DD12C0A554ECCA8C2B010B2C4C5B364" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_5DD12C0A554ECCA8C2B010B2C4C5B364" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_4848451E4C347AAF9F6C10B2C4C6C1CE" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_4848451E4C347AAF9F6C10B2C4C6C1CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_B2C8A00D421D3DE8B88010B2C4C60A2D" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_B2C8A00D421D3DE8B88010B2C4C60A2D" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_StockIssuedDuringPeriodSharesRestrictedStockAwardVested" xlink:label="loc_qlys_StockIssuedDuringPeriodSharesRestrictedStockAwardVested_B2D93602D614130056CF10B2C4C6EFB9" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_qlys_StockIssuedDuringPeriodSharesRestrictedStockAwardVested_B2D93602D614130056CF10B2C4C6EFB9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_A4C5BB004F5ABC8C8C2010B2C4C6C4C2" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_A4C5BB004F5ABC8C8C2010B2C4C6C4C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueIssuedForServices" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueIssuedForServices_4D45B2433CD392EEFD9F10B2C4C667FE" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueIssuedForServices_4D45B2433CD392EEFD9F10B2C4C667FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesIssuedForServices" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesIssuedForServices_4FD8C4CB553ECE298EBB10B2C4C7F950" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesIssuedForServices_4FD8C4CB553ECE298EBB10B2C4C7F950" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition_EFDF7D91340041B29DAE10B2C4C73393" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition_EFDF7D91340041B29DAE10B2C4C73393" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_AdjustmentstoAdditionalPaidinCapitalSharebasedCompensationRestrictedStockUnitorRestrictedStockAwardRequisiteServicePeriodRecognitionShares" xlink:label="loc_qlys_AdjustmentstoAdditionalPaidinCapitalSharebasedCompensationRestrictedStockUnitorRestrictedStockAwardRequisiteServicePeriodRecognitionShares_CBEDAED48DFBFDA2C5B310B2C4C7A67F" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_qlys_AdjustmentstoAdditionalPaidinCapitalSharebasedCompensationRestrictedStockUnitorRestrictedStockAwardRequisiteServicePeriodRecognitionShares_CBEDAED48DFBFDA2C5B310B2C4C7A67F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_2F455E1F1DB47A1FBD0110B2C4C7B604" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_2F455E1F1DB47A1FBD0110B2C4C7B604" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_02D0606170AB1053264510B2C4C7AC7C" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_451780D6A0A8BC7ECE9210B2C4C4FA00" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_02D0606170AB1053264510B2C4C7AC7C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlans" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansCommonStockAndPreferredStockDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4FE3B00A310654FABEB8738B4B98E8FA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_41519C4DB960524F82E2E7ACC44F44B7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4FE3B00A310654FABEB8738B4B98E8FA" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_41519C4DB960524F82E2E7ACC44F44B7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_C10212A9FDC4532A9657591960A49480" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_41519C4DB960524F82E2E7ACC44F44B7" xlink:to="loc_us-gaap_PlanNameAxis_C10212A9FDC4532A9657591960A49480" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_21BA87AB013568C9EA20BF6A46ABCA3C_FB6578C4586055499EEF98C871E06923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_C10212A9FDC4532A9657591960A49480" xlink:to="loc_us-gaap_PlanNameDomain_21BA87AB013568C9EA20BF6A46ABCA3C_FB6578C4586055499EEF98C871E06923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_4B90232FEA4D5299A816F18A9E1B0E49" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_C10212A9FDC4532A9657591960A49480" xlink:to="loc_us-gaap_PlanNameDomain_4B90232FEA4D5299A816F18A9E1B0E49" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_A2000EquityIncentivePlanMember" xlink:label="loc_qlys_A2000EquityIncentivePlanMember_7766024AD6F45381972496ED06C069BC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_4B90232FEA4D5299A816F18A9E1B0E49" xlink:to="loc_qlys_A2000EquityIncentivePlanMember_7766024AD6F45381972496ED06C069BC" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_A2012EquityIncentivePlanMember" xlink:label="loc_qlys_A2012EquityIncentivePlanMember_687196031A9E51D4ADD8FF4B78F35228" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_4B90232FEA4D5299A816F18A9E1B0E49" xlink:to="loc_qlys_A2012EquityIncentivePlanMember_687196031A9E51D4ADD8FF4B78F35228" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_9023602E41B755DDAC9376A741580481" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_41519C4DB960524F82E2E7ACC44F44B7" xlink:to="loc_us-gaap_StatementClassOfStockAxis_9023602E41B755DDAC9376A741580481" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_78FD36FF4047D86AD928BF6A46AC1642_FB6578C4586055499EEF98C871E06923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_9023602E41B755DDAC9376A741580481" xlink:to="loc_us-gaap_ClassOfStockDomain_78FD36FF4047D86AD928BF6A46AC1642_FB6578C4586055499EEF98C871E06923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_F6F801013D31569088FE59D824C5EFAB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_9023602E41B755DDAC9376A741580481" xlink:to="loc_us-gaap_ClassOfStockDomain_F6F801013D31569088FE59D824C5EFAB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_14C09EAAE39C54C087718E725DAF4F82" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_F6F801013D31569088FE59D824C5EFAB" xlink:to="loc_us-gaap_PreferredStockMember_14C09EAAE39C54C087718E725DAF4F82" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_5181735892B25616B9E1C27B4E2D01A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4FE3B00A310654FABEB8738B4B98E8FA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_5181735892B25616B9E1C27B4E2D01A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_31504BC9FEDE5CE8BE5C97ED8C423AB4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4FE3B00A310654FABEB8738B4B98E8FA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_31504BC9FEDE5CE8BE5C97ED8C423AB4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_CE03DF96B21E551A85432508A954D6A7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4FE3B00A310654FABEB8738B4B98E8FA" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_CE03DF96B21E551A85432508A954D6A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract" xlink:label="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_3677013BBD1954B8B43C99CC0EFD9E7A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4FE3B00A310654FABEB8738B4B98E8FA" xlink:to="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_3677013BBD1954B8B43C99CC0EFD9E7A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_15EE2E1C340A56B98B9BB4E008B346F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_3677013BBD1954B8B43C99CC0EFD9E7A" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_15EE2E1C340A56B98B9BB4E008B346F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_4F02DDFA45EF549C9B983B187A9E1C30" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_3677013BBD1954B8B43C99CC0EFD9E7A" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_4F02DDFA45EF549C9B983B187A9E1C30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued_BD11ED1DEE415091B2357E64B2984945" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_3677013BBD1954B8B43C99CC0EFD9E7A" xlink:to="loc_us-gaap_PreferredStockSharesIssued_BD11ED1DEE415091B2357E64B2984945" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_101D7B63B6155D1CBF4A50AA6B6D6FBA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_3677013BBD1954B8B43C99CC0EFD9E7A" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_101D7B63B6155D1CBF4A50AA6B6D6FBA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_13E761B74F652A4AB31610B2C3DAF9F8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_C7BF437253D8872F9BAD10B2C3D71DCD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_13E761B74F652A4AB31610B2C3DAF9F8" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_C7BF437253D8872F9BAD10B2C3D71DCD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_A1D14D468C1148715E4410B2C3D7B0D8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_C7BF437253D8872F9BAD10B2C3D71DCD" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_A1D14D468C1148715E4410B2C3D7B0D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_1DB803F06A47769F368B10B2C3D843EC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_A1D14D468C1148715E4410B2C3D7B0D8" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_1DB803F06A47769F368B10B2C3D843EC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_1DB803F06A47769F368B10B2C3D843EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_A1D14D468C1148715E4410B2C3D7B0D8" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_1DB803F06A47769F368B10B2C3D843EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_8FDBD27C4062C6B8AE5310B2C3D815B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_1DB803F06A47769F368B10B2C3D843EC" xlink:to="loc_us-gaap_CostOfSalesMember_8FDBD27C4062C6B8AE5310B2C3D815B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_A5231741E51923F2AFD310B2C3D86E34" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_1DB803F06A47769F368B10B2C3D843EC" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_A5231741E51923F2AFD310B2C3D86E34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingAndMarketingExpenseMember" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_4856D7C778D491A7147A10B2C3D89832" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_1DB803F06A47769F368B10B2C3D843EC" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_4856D7C778D491A7147A10B2C3D89832" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_27BBB2B22E921B1EAB9910B2C3D97AC2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_1DB803F06A47769F368B10B2C3D843EC" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_27BBB2B22E921B1EAB9910B2C3D97AC2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_2F945778993FE7CC559310B2C3D9114E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_C7BF437253D8872F9BAD10B2C3D71DCD" xlink:to="loc_us-gaap_AwardTypeAxis_2F945778993FE7CC559310B2C3D9114E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_94D1F767062270B561A010B2C3D91BD4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_2F945778993FE7CC559310B2C3D9114E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_94D1F767062270B561A010B2C3D91BD4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_94D1F767062270B561A010B2C3D91BD4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_2F945778993FE7CC559310B2C3D9114E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_94D1F767062270B561A010B2C3D91BD4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_2362822D181A695EF35C10B2C3DA4CEE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_94D1F767062270B561A010B2C3D91BD4" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_2362822D181A695EF35C10B2C3DA4CEE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_D174A3AB5772C9D011D510B2C3DA1457" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_13E761B74F652A4AB31610B2C3DAF9F8" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_D174A3AB5772C9D011D510B2C3DA1457" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_EDEA88A5566E38DC08EC10B2C3DAD94E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_13E761B74F652A4AB31610B2C3DAF9F8" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_EDEA88A5566E38DC08EC10B2C3DAD94E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_86803A80549F44F20EE910B2C3DA8087" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_13E761B74F652A4AB31610B2C3DAF9F8" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_86803A80549F44F20EE910B2C3DA8087" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IssuanceOfStockAndWarrantsForServicesOrClaims" xlink:label="loc_us-gaap_IssuanceOfStockAndWarrantsForServicesOrClaims_529739A973892B4AD4E010B2C3DBADA7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_13E761B74F652A4AB31610B2C3DAF9F8" xlink:to="loc_us-gaap_IssuanceOfStockAndWarrantsForServicesOrClaims_529739A973892B4AD4E010B2C3DBADA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_3453B2192EEE35DDFEEB10B2C3DBE98D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_13E761B74F652A4AB31610B2C3DAF9F8" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_3453B2192EEE35DDFEEB10B2C3DBE98D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansFairValueAssumptionsStockOptionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC904A7D70FB0335FAC10B2C3D2F505" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D493FEEF65E9E696888810B2C3D01954" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC904A7D70FB0335FAC10B2C3D2F505" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D493FEEF65E9E696888810B2C3D01954" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_E879300269A05E6A8BF910B2C3D0291C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D493FEEF65E9E696888810B2C3D01954" xlink:to="loc_us-gaap_RangeAxis_E879300269A05E6A8BF910B2C3D0291C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_6528F59A22F803D4B25410B2C3D00A78_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_E879300269A05E6A8BF910B2C3D0291C" xlink:to="loc_us-gaap_RangeMember_6528F59A22F803D4B25410B2C3D00A78_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_6528F59A22F803D4B25410B2C3D00A78" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_E879300269A05E6A8BF910B2C3D0291C" xlink:to="loc_us-gaap_RangeMember_6528F59A22F803D4B25410B2C3D00A78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_9B9D690A94769DF7491C10B2C3D11A45" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_6528F59A22F803D4B25410B2C3D00A78" xlink:to="loc_us-gaap_MinimumMember_9B9D690A94769DF7491C10B2C3D11A45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_E513284C645E652E9A3610B2C3D1DBBF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_6528F59A22F803D4B25410B2C3D00A78" xlink:to="loc_us-gaap_MaximumMember_E513284C645E652E9A3610B2C3D1DBBF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_C95DBAE82FB80682C54A10B2C3D1D03A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D493FEEF65E9E696888810B2C3D01954" xlink:to="loc_us-gaap_AwardTypeAxis_C95DBAE82FB80682C54A10B2C3D1D03A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6B627F999EB172F14E4F10B2C3D11E66_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_C95DBAE82FB80682C54A10B2C3D1D03A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6B627F999EB172F14E4F10B2C3D11E66_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6B627F999EB172F14E4F10B2C3D11E66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_C95DBAE82FB80682C54A10B2C3D1D03A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6B627F999EB172F14E4F10B2C3D11E66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_CD794FCD8B0E2A41CA1710B2C3D26E9E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6B627F999EB172F14E4F10B2C3D11E66" xlink:to="loc_us-gaap_EmployeeStockOptionMember_CD794FCD8B0E2A41CA1710B2C3D26E9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_F0176591C51DDF09D71610B2C3D27869" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC904A7D70FB0335FAC10B2C3D2F505" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_F0176591C51DDF09D71610B2C3D27869" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_760A66FDA63414EA883510B2C3D211B4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC904A7D70FB0335FAC10B2C3D2F505" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_760A66FDA63414EA883510B2C3D211B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_9DE1019E11DA4681D75C10B2C3D32844" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC904A7D70FB0335FAC10B2C3D2F505" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_9DE1019E11DA4681D75C10B2C3D32844" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_5C9EF87185E58DED8A7010B2C3D3A673" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC904A7D70FB0335FAC10B2C3D2F505" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_5C9EF87185E58DED8A7010B2C3D3A673" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansOptionsOutstandingAndVestedDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_17BCAFAE14C28959FBBC10B2C3BD1EE8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_94A805E312DE900221BD10B2C3BAE292" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_17BCAFAE14C28959FBBC10B2C3BD1EE8" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_94A805E312DE900221BD10B2C3BAE292" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_0F4BB29A0B1B77DE6EE010B2C3BA4B65" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_94A805E312DE900221BD10B2C3BAE292" xlink:to="loc_us-gaap_PlanNameAxis_0F4BB29A0B1B77DE6EE010B2C3BA4B65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_BA44F23CD28E660BCE5C10B2C3BAFBE7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_0F4BB29A0B1B77DE6EE010B2C3BA4B65" xlink:to="loc_us-gaap_PlanNameDomain_BA44F23CD28E660BCE5C10B2C3BAFBE7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_BA44F23CD28E660BCE5C10B2C3BAFBE7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_0F4BB29A0B1B77DE6EE010B2C3BA4B65" xlink:to="loc_us-gaap_PlanNameDomain_BA44F23CD28E660BCE5C10B2C3BAFBE7" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_A2000EquityIncentivePlanMember" xlink:label="loc_qlys_A2000EquityIncentivePlanMember_FDC854BE61D643AF637A10B2C3BA9E94" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_BA44F23CD28E660BCE5C10B2C3BAFBE7" xlink:to="loc_qlys_A2000EquityIncentivePlanMember_FDC854BE61D643AF637A10B2C3BA9E94" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_CD29C43F99280BA8130510B2C3BBC640" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_94A805E312DE900221BD10B2C3BAE292" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_CD29C43F99280BA8130510B2C3BBC640" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_FC7F641B50009B6E3A1F10B2C3BBAE01_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_CD29C43F99280BA8130510B2C3BBC640" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_FC7F641B50009B6E3A1F10B2C3BBAE01_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_FC7F641B50009B6E3A1F10B2C3BBAE01" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_CD29C43F99280BA8130510B2C3BBC640" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_FC7F641B50009B6E3A1F10B2C3BBAE01" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ExercisePriceRangeOneMember" xlink:label="loc_qlys_ExercisePriceRangeOneMember_9BFF095F708DC1B2FDC210B2C3BB2CBF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_FC7F641B50009B6E3A1F10B2C3BBAE01" xlink:to="loc_qlys_ExercisePriceRangeOneMember_9BFF095F708DC1B2FDC210B2C3BB2CBF" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ExercisePriceRangeTwoMember" xlink:label="loc_qlys_ExercisePriceRangeTwoMember_18A68FFD7F84B379106F10B2C3BBACF7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_FC7F641B50009B6E3A1F10B2C3BBAE01" xlink:to="loc_qlys_ExercisePriceRangeTwoMember_18A68FFD7F84B379106F10B2C3BBACF7" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ExercisePriceRangeThreeMember" xlink:label="loc_qlys_ExercisePriceRangeThreeMember_C53E66467DA8F1524F4710B2C3BC0AE0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_FC7F641B50009B6E3A1F10B2C3BBAE01" xlink:to="loc_qlys_ExercisePriceRangeThreeMember_C53E66467DA8F1524F4710B2C3BC0AE0" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ExercisePriceRangeFourMember" xlink:label="loc_qlys_ExercisePriceRangeFourMember_5F42C9D72CA5D2A4054610B2C3BC48E8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_FC7F641B50009B6E3A1F10B2C3BBAE01" xlink:to="loc_qlys_ExercisePriceRangeFourMember_5F42C9D72CA5D2A4054610B2C3BC48E8" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ExercisePriceRangeFiveMember" xlink:label="loc_qlys_ExercisePriceRangeFiveMember_73EF3047446F6904E5B410B2C3BC3A9F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_FC7F641B50009B6E3A1F10B2C3BBAE01" xlink:to="loc_qlys_ExercisePriceRangeFiveMember_73EF3047446F6904E5B410B2C3BC3A9F" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ExercisePriceRangeSixMember" xlink:label="loc_qlys_ExercisePriceRangeSixMember_BA48E951504E20037BAA10B2C3BC9667" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_FC7F641B50009B6E3A1F10B2C3BBAE01" xlink:to="loc_qlys_ExercisePriceRangeSixMember_BA48E951504E20037BAA10B2C3BC9667" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ExercisePriceRangeSevenMember" xlink:label="loc_qlys_ExercisePriceRangeSevenMember_08B35DCCC2F92C0D805110B2C3BCBB45" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_FC7F641B50009B6E3A1F10B2C3BBAE01" xlink:to="loc_qlys_ExercisePriceRangeSevenMember_08B35DCCC2F92C0D805110B2C3BCBB45" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ExercisePriceRangeEightMember" xlink:label="loc_qlys_ExercisePriceRangeEightMember_A245B8929420DAC592E110B2C3BC2634" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_FC7F641B50009B6E3A1F10B2C3BBAE01" xlink:to="loc_qlys_ExercisePriceRangeEightMember_A245B8929420DAC592E110B2C3BC2634" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ExercisePriceRangeNineMember" xlink:label="loc_qlys_ExercisePriceRangeNineMember_00995B6B8E9097E5941610B2C3BDE2B9" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_FC7F641B50009B6E3A1F10B2C3BBAE01" xlink:to="loc_qlys_ExercisePriceRangeNineMember_00995B6B8E9097E5941610B2C3BDE2B9" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ExercisePriceRangeTenMember" xlink:label="loc_qlys_ExercisePriceRangeTenMember_87173A06471F3DC9CEA210B2C3BDD0B5" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_FC7F641B50009B6E3A1F10B2C3BBAE01" xlink:to="loc_qlys_ExercisePriceRangeTenMember_87173A06471F3DC9CEA210B2C3BDD0B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_2D28970226FAB5C739D610B2C3BD9B63" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_94A805E312DE900221BD10B2C3BAE292" xlink:to="loc_us-gaap_AwardTypeAxis_2D28970226FAB5C739D610B2C3BD9B63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_44AF6ECFD68971DAD84D10B2C3BD8DC3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_2D28970226FAB5C739D610B2C3BD9B63" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_44AF6ECFD68971DAD84D10B2C3BD8DC3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_44AF6ECFD68971DAD84D10B2C3BD8DC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_2D28970226FAB5C739D610B2C3BD9B63" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_44AF6ECFD68971DAD84D10B2C3BD8DC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_FA4A903EDDF33FFFA28910B2C3BDD383" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_44AF6ECFD68971DAD84D10B2C3BD8DC3" xlink:to="loc_us-gaap_EmployeeStockOptionMember_FA4A903EDDF33FFFA28910B2C3BDD383" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_6FDDA5F185964FF1732910B2C3BEE89C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_17BCAFAE14C28959FBBC10B2C3BD1EE8" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_6FDDA5F185964FF1732910B2C3BEE89C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_87E2EB846D0F27B3687010B2C3BECF65" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_17BCAFAE14C28959FBBC10B2C3BD1EE8" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_87E2EB846D0F27B3687010B2C3BECF65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions_0CD7DA7BAF29A37E540610B2C3BE139A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_17BCAFAE14C28959FBBC10B2C3BD1EE8" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions_0CD7DA7BAF29A37E540610B2C3BE139A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_D04ECFCB7FFA2F6B9FA510B2C3BE2BFF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_17BCAFAE14C28959FBBC10B2C3BD1EE8" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_D04ECFCB7FFA2F6B9FA510B2C3BE2BFF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2_6463343FB04439DE31D810B2C3BEA558" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_17BCAFAE14C28959FBBC10B2C3BD1EE8" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2_6463343FB04439DE31D810B2C3BEA558" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfVestedOptions" xlink:label="loc_qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfVestedOptions_EF5B456023B02A69241810B2C3BF004A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_17BCAFAE14C28959FBBC10B2C3BD1EE8" xlink:to="loc_qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfVestedOptions_EF5B456023B02A69241810B2C3BF004A" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeVestedOptionsWeightedAverageExercisePrice" xlink:label="loc_qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeVestedOptionsWeightedAverageExercisePrice_2B6E5F57A2D73D2F0C2310B2C3BF7ABB" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_17BCAFAE14C28959FBBC10B2C3BD1EE8" xlink:to="loc_qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeVestedOptionsWeightedAverageExercisePrice_2B6E5F57A2D73D2F0C2310B2C3BF7ABB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_C87B09F12222A913103610B2C3BF9F24" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_17BCAFAE14C28959FBBC10B2C3BD1EE8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_C87B09F12222A913103610B2C3BF9F24" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedInPeriodTotalFairValue" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedInPeriodTotalFairValue_EAAF3169B7A7E96EBF6C10B2C3BF9593" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_17BCAFAE14C28959FBBC10B2C3BD1EE8" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedInPeriodTotalFairValue_EAAF3169B7A7E96EBF6C10B2C3BF9593" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_74A190F202A73D7F7AF310B2C3BFD4D3" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_17BCAFAE14C28959FBBC10B2C3BD1EE8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_74A190F202A73D7F7AF310B2C3BFD4D3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansPlanInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A49DDA265D68FB2755110B2C3E5D6F1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D4200E0AA41E2403785310B2C3E15568" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A49DDA265D68FB2755110B2C3E5D6F1" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D4200E0AA41E2403785310B2C3E15568" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_EquityIncentivePlanAnnualIncreaseFeatureAxis" xlink:label="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureAxis_098727531BB95EE9812310B2C3E18B87" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D4200E0AA41E2403785310B2C3E15568" xlink:to="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureAxis_098727531BB95EE9812310B2C3E18B87" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain" xlink:label="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_3535A1A3D243434E058D10B2C3E27AF8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureAxis_098727531BB95EE9812310B2C3E18B87" xlink:to="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_3535A1A3D243434E058D10B2C3E27AF8_default" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain" xlink:label="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_3535A1A3D243434E058D10B2C3E27AF8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureAxis_098727531BB95EE9812310B2C3E18B87" xlink:to="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_3535A1A3D243434E058D10B2C3E27AF8" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_IncreaseOfNumberOfSharesOptionMember" xlink:label="loc_qlys_IncreaseOfNumberOfSharesOptionMember_B343B7B06AAD9FB951FC10B2C3E292DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_3535A1A3D243434E058D10B2C3E27AF8" xlink:to="loc_qlys_IncreaseOfNumberOfSharesOptionMember_B343B7B06AAD9FB951FC10B2C3E292DE" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_IncreaseOfPercentageOfSharesOutstandingOptionMember" xlink:label="loc_qlys_IncreaseOfPercentageOfSharesOutstandingOptionMember_F662AEE597782CA9F3E610B2C3E21EC1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_3535A1A3D243434E058D10B2C3E27AF8" xlink:to="loc_qlys_IncreaseOfPercentageOfSharesOutstandingOptionMember_F662AEE597782CA9F3E610B2C3E21EC1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_CC136CDF19D35F68AC8210B2C3E2328B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D4200E0AA41E2403785310B2C3E15568" xlink:to="loc_us-gaap_PlanNameAxis_CC136CDF19D35F68AC8210B2C3E2328B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_D60250FD079E7580D52910B2C3E2B6AB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_CC136CDF19D35F68AC8210B2C3E2328B" xlink:to="loc_us-gaap_PlanNameDomain_D60250FD079E7580D52910B2C3E2B6AB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_D60250FD079E7580D52910B2C3E2B6AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_CC136CDF19D35F68AC8210B2C3E2328B" xlink:to="loc_us-gaap_PlanNameDomain_D60250FD079E7580D52910B2C3E2B6AB" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_A2012EquityIncentivePlanMember" xlink:label="loc_qlys_A2012EquityIncentivePlanMember_CCEC1B26FE7489C57A4610B2C3E3B8D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_D60250FD079E7580D52910B2C3E2B6AB" xlink:to="loc_qlys_A2012EquityIncentivePlanMember_CCEC1B26FE7489C57A4610B2C3E3B8D4" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_A2000EquityIncentivePlanMember" xlink:label="loc_qlys_A2000EquityIncentivePlanMember_34792BBCE924C3B5AF1B10B2C3E35F31" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_D60250FD079E7580D52910B2C3E2B6AB" xlink:to="loc_qlys_A2000EquityIncentivePlanMember_34792BBCE924C3B5AF1B10B2C3E35F31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_C6252A5CEDB87EB4E7D410B2C3E3E101" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D4200E0AA41E2403785310B2C3E15568" xlink:to="loc_us-gaap_AwardTypeAxis_C6252A5CEDB87EB4E7D410B2C3E3E101" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_75B6992DB13B540CCD1D10B2C3E3E784_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_C6252A5CEDB87EB4E7D410B2C3E3E101" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_75B6992DB13B540CCD1D10B2C3E3E784_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_75B6992DB13B540CCD1D10B2C3E3E784" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_C6252A5CEDB87EB4E7D410B2C3E3E101" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_75B6992DB13B540CCD1D10B2C3E3E784" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_43EF2DAA3330C538175810B2C3E47AED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_75B6992DB13B540CCD1D10B2C3E3E784" xlink:to="loc_us-gaap_EmployeeStockOptionMember_43EF2DAA3330C538175810B2C3E47AED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_9674618464876CB0FC0B10B2C3E4AA66" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D4200E0AA41E2403785310B2C3E15568" xlink:to="loc_us-gaap_RangeAxis_9674618464876CB0FC0B10B2C3E4AA66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_EC2EA19CBBCC419F75E510B2C3E4FA79_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_9674618464876CB0FC0B10B2C3E4AA66" xlink:to="loc_us-gaap_RangeMember_EC2EA19CBBCC419F75E510B2C3E4FA79_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_EC2EA19CBBCC419F75E510B2C3E4FA79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_9674618464876CB0FC0B10B2C3E4AA66" xlink:to="loc_us-gaap_RangeMember_EC2EA19CBBCC419F75E510B2C3E4FA79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_CE1F99D3A43D13C94B0710B2C3E4FED3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_EC2EA19CBBCC419F75E510B2C3E4FA79" xlink:to="loc_us-gaap_MaximumMember_CE1F99D3A43D13C94B0710B2C3E4FED3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_82BDB329E8FAC4F33D5E10B2C3E5D04B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_EC2EA19CBBCC419F75E510B2C3E4FA79" xlink:to="loc_us-gaap_MinimumMember_82BDB329E8FAC4F33D5E10B2C3E5D04B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_596717ECC5E87A8F44D610B2C3E55191" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A49DDA265D68FB2755110B2C3E5D6F1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_596717ECC5E87A8F44D610B2C3E55191" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreaseShares" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreaseShares_A576AB8E4812ABD410C710B2C3E538D4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A49DDA265D68FB2755110B2C3E5D6F1" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreaseShares_A576AB8E4812ABD410C710B2C3E538D4" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreasePercentOfSharesOutstanding" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreasePercentOfSharesOutstanding_2C5FB72B911070B3A4F510B2C3E5DFE3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A49DDA265D68FB2755110B2C3E5D6F1" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreasePercentOfSharesOutstanding_2C5FB72B911070B3A4F510B2C3E5DFE3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_BFC3F43B1492A83E840210B2C3E65829" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A49DDA265D68FB2755110B2C3E5D6F1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_BFC3F43B1492A83E840210B2C3E65829" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermOfAward" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermOfAward_E89776170068F8FB75FE10B2C3E6153B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A49DDA265D68FB2755110B2C3E5D6F1" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermOfAward_E89776170068F8FB75FE10B2C3E6153B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_61F2A4437F396C7ECB7010B2C3E6A7BD" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A49DDA265D68FB2755110B2C3E5D6F1" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_61F2A4437F396C7ECB7010B2C3E6A7BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_ECFD888FFE53F5D2FA6510B2C3E66204" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A49DDA265D68FB2755110B2C3E5D6F1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_ECFD888FFE53F5D2FA6510B2C3E66204" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardStrikePriceAsPercentageOfMarketValue" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardStrikePriceAsPercentageOfMarketValue_E6F4BC69E5A7F285A90710B2C3E6BC95" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A49DDA265D68FB2755110B2C3E5D6F1" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardStrikePriceAsPercentageOfMarketValue_E6F4BC69E5A7F285A90710B2C3E6BC95" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForIssuance" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForIssuance_B5A93662E908AE47E2D810B2C3E60199" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A49DDA265D68FB2755110B2C3E5D6F1" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForIssuance_B5A93662E908AE47E2D810B2C3E60199" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansRestrictedStockDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1EB5AC08C23FFF72E00010B2C3B1A9A7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_C0A5F9D1D9A8D29A3D1B10B2C3AF029F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1EB5AC08C23FFF72E00010B2C3B1A9A7" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_C0A5F9D1D9A8D29A3D1B10B2C3AF029F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_9BB9984A27376871A1E810B2C3AF5C2B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_C0A5F9D1D9A8D29A3D1B10B2C3AF029F" xlink:to="loc_us-gaap_VestingAxis_9BB9984A27376871A1E810B2C3AF5C2B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_B240846764121E2EFA5D10B2C3AF36A0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_9BB9984A27376871A1E810B2C3AF5C2B" xlink:to="loc_us-gaap_VestingDomain_B240846764121E2EFA5D10B2C3AF36A0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_B240846764121E2EFA5D10B2C3AF36A0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_9BB9984A27376871A1E810B2C3AF5C2B" xlink:to="loc_us-gaap_VestingDomain_B240846764121E2EFA5D10B2C3AF36A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_50B0BAADD8FA1C7B08DC10B2C3B01C9C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_B240846764121E2EFA5D10B2C3AF36A0" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_50B0BAADD8FA1C7B08DC10B2C3B01C9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_78887E249DFC7BD5511E10B2C3B028CB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_B240846764121E2EFA5D10B2C3AF36A0" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_78887E249DFC7BD5511E10B2C3B028CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_CCF24B0D018C3EB4E80110B2C3B02AD5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_B240846764121E2EFA5D10B2C3AF36A0" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_CCF24B0D018C3EB4E80110B2C3B02AD5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_0A9E1C55972CECDB17F010B2C3B03BF0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_C0A5F9D1D9A8D29A3D1B10B2C3AF029F" xlink:to="loc_us-gaap_AwardTypeAxis_0A9E1C55972CECDB17F010B2C3B03BF0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_70C754A4E8107790A54B10B2C3B0A79D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_0A9E1C55972CECDB17F010B2C3B03BF0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_70C754A4E8107790A54B10B2C3B0A79D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_70C754A4E8107790A54B10B2C3B0A79D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_0A9E1C55972CECDB17F010B2C3B03BF0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_70C754A4E8107790A54B10B2C3B0A79D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_2FD64EF1806CABFCF1EA10B2C3B18ACB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_70C754A4E8107790A54B10B2C3B0A79D" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_2FD64EF1806CABFCF1EA10B2C3B18ACB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_263D7954D0AFACF8995010B2C3B1AC25" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1EB5AC08C23FFF72E00010B2C3B1A9A7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_263D7954D0AFACF8995010B2C3B1AC25" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_061328245741067DC43A10B2C3B2B1B5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1EB5AC08C23FFF72E00010B2C3B1A9A7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_061328245741067DC43A10B2C3B2B1B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_38862F654BCA731D2CC210B2C3B220CA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1EB5AC08C23FFF72E00010B2C3B1A9A7" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_38862F654BCA731D2CC210B2C3B220CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_C6E3E0C8E389E4EB591A10B2C3B2CD62" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1EB5AC08C23FFF72E00010B2C3B1A9A7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_C6E3E0C8E389E4EB591A10B2C3B2CD62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_DB15FF5BCEF2159018AD10B2C3B25A59" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1EB5AC08C23FFF72E00010B2C3B1A9A7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_DB15FF5BCEF2159018AD10B2C3B25A59" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_D105E4AD7C1BBE67382010B2C3B2137C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1EB5AC08C23FFF72E00010B2C3B1A9A7" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_D105E4AD7C1BBE67382010B2C3B2137C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_040EA48A86BE2A4BF13110B2C3B216B4" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1EB5AC08C23FFF72E00010B2C3B1A9A7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_040EA48A86BE2A4BF13110B2C3B216B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_38CEC7CD00456A71536F10B2C3B38938" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1EB5AC08C23FFF72E00010B2C3B1A9A7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_38CEC7CD00456A71536F10B2C3B38938" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansRestrictedStockUnitsAndRestrictedStockAwardsActivityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DF4FBEDB57FDB5F00F8A10B2C3A62AE2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A5E6057986CD852F0C9110B2C3A4F8C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DF4FBEDB57FDB5F00F8A10B2C3A62AE2" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A5E6057986CD852F0C9110B2C3A4F8C0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_45C3053AC57180D8752A10B2C3A55C6A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A5E6057986CD852F0C9110B2C3A4F8C0" xlink:to="loc_us-gaap_AwardTypeAxis_45C3053AC57180D8752A10B2C3A55C6A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A90E01BB0F3DE44552EE10B2C3A5E48E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_45C3053AC57180D8752A10B2C3A55C6A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A90E01BB0F3DE44552EE10B2C3A5E48E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A90E01BB0F3DE44552EE10B2C3A5E48E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_45C3053AC57180D8752A10B2C3A55C6A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A90E01BB0F3DE44552EE10B2C3A5E48E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_84888C99B916B33C480410B2C3A564A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A90E01BB0F3DE44552EE10B2C3A5E48E" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_84888C99B916B33C480410B2C3A564A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_AF092920491FA4CC807910B2C3A66FD9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DF4FBEDB57FDB5F00F8A10B2C3A62AE2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_AF092920491FA4CC807910B2C3A66FD9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_240AE2483E5A3887A4FF10B2C3A631CC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_AF092920491FA4CC807910B2C3A66FD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_240AE2483E5A3887A4FF10B2C3A631CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_2000DCD76546F202934910B2C3A644BF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_AF092920491FA4CC807910B2C3A66FD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_2000DCD76546F202934910B2C3A644BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_47ACDE259C7EF121260010B2C3A790E4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_AF092920491FA4CC807910B2C3A66FD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_47ACDE259C7EF121260010B2C3A790E4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_E46A8EB0268A6CDFF96310B2C3A7EB42" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_AF092920491FA4CC807910B2C3A66FD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_E46A8EB0268A6CDFF96310B2C3A7EB42" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingNumber" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingNumber_06B6B47DB9AC1DEB59AA10B2C3A74631" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DF4FBEDB57FDB5F00F8A10B2C3A62AE2" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingNumber_06B6B47DB9AC1DEB59AA10B2C3A74631" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_6163DEB7B34C2566CEEF10B2C3A7FF5F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DF4FBEDB57FDB5F00F8A10B2C3A62AE2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_6163DEB7B34C2566CEEF10B2C3A7FF5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_617E3A2861C02B3A7AE010B2C3A74C3D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_6163DEB7B34C2566CEEF10B2C3A7FF5F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_617E3A2861C02B3A7AE010B2C3A74C3D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_1799CB51CFE61BEDD44E10B2C3A8A982" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_6163DEB7B34C2566CEEF10B2C3A7FF5F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_1799CB51CFE61BEDD44E10B2C3A8A982" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_5D863BB8F2E086C3350910B2C3A81C30" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_6163DEB7B34C2566CEEF10B2C3A7FF5F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_5D863BB8F2E086C3350910B2C3A81C30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_0EE0D0DB5A5D0D4C64CA10B2C3A84A93" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_6163DEB7B34C2566CEEF10B2C3A7FF5F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_0EE0D0DB5A5D0D4C64CA10B2C3A84A93" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_A28349949234D4FE731310B2C3A84BCA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DF4FBEDB57FDB5F00F8A10B2C3A62AE2" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_A28349949234D4FE731310B2C3A84BCA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansShareRepurchaseProgramAnd401KPlanDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CA3AECA1687855E37A5810B2C39DC0D6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1305DC53B07F11E1CF6110B2C3998338" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CA3AECA1687855E37A5810B2C39DC0D6" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1305DC53B07F11E1CF6110B2C3998338" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_9298F735AFACEF7F30DD10B2C3993E9E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1305DC53B07F11E1CF6110B2C3998338" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_9298F735AFACEF7F30DD10B2C3993E9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_6381E9BA12F1FA7C86E710B2C39A4E37_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_9298F735AFACEF7F30DD10B2C3993E9E" xlink:to="loc_us-gaap_EquityComponentDomain_6381E9BA12F1FA7C86E710B2C39A4E37_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_6381E9BA12F1FA7C86E710B2C39A4E37" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_9298F735AFACEF7F30DD10B2C3993E9E" xlink:to="loc_us-gaap_EquityComponentDomain_6381E9BA12F1FA7C86E710B2C39A4E37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_1FA4A9B1638DDCDC4BDC10B2C39ADE3D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_6381E9BA12F1FA7C86E710B2C39A4E37" xlink:to="loc_us-gaap_CommonStockMember_1FA4A9B1638DDCDC4BDC10B2C39ADE3D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_233055D60898BBD72B8110B2C39AF71E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1305DC53B07F11E1CF6110B2C3998338" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_233055D60898BBD72B8110B2C39AF71E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_01182A810944D8FC03F410B2C39A304E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_233055D60898BBD72B8110B2C39AF71E" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_01182A810944D8FC03F410B2C39A304E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_01182A810944D8FC03F410B2C39A304E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_233055D60898BBD72B8110B2C39AF71E" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_01182A810944D8FC03F410B2C39A304E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_34B1ADABA18F8C3A068110B2C39ADC81" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_01182A810944D8FC03F410B2C39A304E" xlink:to="loc_us-gaap_SubsequentEventMember_34B1ADABA18F8C3A068110B2C39ADC81" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_651A27F9BE0ECE0731C410B2C39B7170" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1305DC53B07F11E1CF6110B2C3998338" xlink:to="loc_us-gaap_PlanNameAxis_651A27F9BE0ECE0731C410B2C39B7170" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_6A2C80490DE9A8C9919610B2C39B35A2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_651A27F9BE0ECE0731C410B2C39B7170" xlink:to="loc_us-gaap_PlanNameDomain_6A2C80490DE9A8C9919610B2C39B35A2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_6A2C80490DE9A8C9919610B2C39B35A2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_651A27F9BE0ECE0731C410B2C39B7170" xlink:to="loc_us-gaap_PlanNameDomain_6A2C80490DE9A8C9919610B2C39B35A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardDateAxis" xlink:label="loc_us-gaap_AwardDateAxis_8992B75BADB017EF0F4D10B2C39B981B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1305DC53B07F11E1CF6110B2C3998338" xlink:to="loc_us-gaap_AwardDateAxis_8992B75BADB017EF0F4D10B2C39B981B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_C306930890560253431510B2C39B69C6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardDateAxis_8992B75BADB017EF0F4D10B2C39B981B" xlink:to="loc_us-gaap_AwardDateDomain_C306930890560253431510B2C39B69C6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_C306930890560253431510B2C39B69C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardDateAxis_8992B75BADB017EF0F4D10B2C39B981B" xlink:to="loc_us-gaap_AwardDateDomain_C306930890560253431510B2C39B69C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_0A09667542378AC9B77A10B2C39BEDA6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1305DC53B07F11E1CF6110B2C3998338" xlink:to="loc_us-gaap_AwardTypeAxis_0A09667542378AC9B77A10B2C39BEDA6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6D139DD12F21A47ED6BF10B2C39CD25C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_0A09667542378AC9B77A10B2C39BEDA6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6D139DD12F21A47ED6BF10B2C39CD25C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6D139DD12F21A47ED6BF10B2C39CD25C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_0A09667542378AC9B77A10B2C39BEDA6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6D139DD12F21A47ED6BF10B2C39CD25C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_94A22C5E87354FA63C3E10B2C39C4DA3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1305DC53B07F11E1CF6110B2C3998338" xlink:to="loc_us-gaap_StatementClassOfStockAxis_94A22C5E87354FA63C3E10B2C39C4DA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_615F6BD16A95F6A17F3F10B2C39C1922_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_94A22C5E87354FA63C3E10B2C39C4DA3" xlink:to="loc_us-gaap_ClassOfStockDomain_615F6BD16A95F6A17F3F10B2C39C1922_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_615F6BD16A95F6A17F3F10B2C39C1922" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_94A22C5E87354FA63C3E10B2C39C4DA3" xlink:to="loc_us-gaap_ClassOfStockDomain_615F6BD16A95F6A17F3F10B2C39C1922" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_A3212A61FC2D0395878F10B2C39CB85D" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1305DC53B07F11E1CF6110B2C3998338" xlink:to="loc_us-gaap_RangeAxis_A3212A61FC2D0395878F10B2C39CB85D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F6C02D9F2FCD6AF9418D10B2C39CCBA8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_A3212A61FC2D0395878F10B2C39CB85D" xlink:to="loc_us-gaap_RangeMember_F6C02D9F2FCD6AF9418D10B2C39CCBA8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F6C02D9F2FCD6AF9418D10B2C39CCBA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_A3212A61FC2D0395878F10B2C39CB85D" xlink:to="loc_us-gaap_RangeMember_F6C02D9F2FCD6AF9418D10B2C39CCBA8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_D15CD2751431CF76251410B2C39DF3B3" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1305DC53B07F11E1CF6110B2C3998338" xlink:to="loc_us-gaap_VestingAxis_D15CD2751431CF76251410B2C39DF3B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_C2D027E8759BDFC4E8CD10B2C39D3C13_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_D15CD2751431CF76251410B2C39DF3B3" xlink:to="loc_us-gaap_VestingDomain_C2D027E8759BDFC4E8CD10B2C39D3C13_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_C2D027E8759BDFC4E8CD10B2C39D3C13" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_D15CD2751431CF76251410B2C39DF3B3" xlink:to="loc_us-gaap_VestingDomain_C2D027E8759BDFC4E8CD10B2C39D3C13" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_F02678FAFB2A167E87C910B2C39D50A7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CA3AECA1687855E37A5810B2C39DC0D6" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_F02678FAFB2A167E87C910B2C39D50A7" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_StockRepurchaseProgramAdditionalAuthorizedAmount" xlink:label="loc_qlys_StockRepurchaseProgramAdditionalAuthorizedAmount_DB65013628176322FF1710B2C39EF4EE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CA3AECA1687855E37A5810B2C39DC0D6" xlink:to="loc_qlys_StockRepurchaseProgramAdditionalAuthorizedAmount_DB65013628176322FF1710B2C39EF4EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_0E1BBA0329B4894E78E210B2C39E44AC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CA3AECA1687855E37A5810B2C39DC0D6" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_0E1BBA0329B4894E78E210B2C39E44AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_D5D6DCD77DC39956D8D710B2C39EBF7F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CA3AECA1687855E37A5810B2C39DC0D6" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_D5D6DCD77DC39956D8D710B2C39EBF7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_B406C0D560CA7DFA7DDF10B2C39E6654" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CA3AECA1687855E37A5810B2C39DC0D6" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_B406C0D560CA7DFA7DDF10B2C39E6654" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_5F61E7B2950A4A1822F910B2C39E1FA8" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CA3AECA1687855E37A5810B2C39DC0D6" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_5F61E7B2950A4A1822F910B2C39E1FA8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansStockOptionActivityDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstruments" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsCashAndCashEquivalentsAvailableForSaleSecuritiesRestrictedCashReconciliationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_6A0EDFCB9D8F5B7FBDB003890993848D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_E7A751B3E68A5963BA3B2A6149623F8D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_6A0EDFCB9D8F5B7FBDB003890993848D" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_E7A751B3E68A5963BA3B2A6149623F8D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_263CE35BAC14503C9CF8D3F92508DDF1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_E7A751B3E68A5963BA3B2A6149623F8D" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_263CE35BAC14503C9CF8D3F92508DDF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_5E241AC3E36C51BB473298059B6595D6_FB6578C4586055499EEF98C871E06923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_263CE35BAC14503C9CF8D3F92508DDF1" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_5E241AC3E36C51BB473298059B6595D6_FB6578C4586055499EEF98C871E06923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_FC4A8228ECA252E18F68503E9C064ECD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_263CE35BAC14503C9CF8D3F92508DDF1" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_FC4A8228ECA252E18F68503E9C064ECD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsMember" xlink:label="loc_us-gaap_CashAndCashEquivalentsMember_19287E06CE765115ABB7B0714C62F305" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_FC4A8228ECA252E18F68503E9C064ECD" xlink:to="loc_us-gaap_CashAndCashEquivalentsMember_19287E06CE765115ABB7B0714C62F305" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_AvailableForSaleSecuritiesLineItemMember" xlink:label="loc_qlys_AvailableForSaleSecuritiesLineItemMember_5A77A752F5BB52C6994B891C395D2FD3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_FC4A8228ECA252E18F68503E9C064ECD" xlink:to="loc_qlys_AvailableForSaleSecuritiesLineItemMember_5A77A752F5BB52C6994B891C395D2FD3" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_LongTermInvestmentsMember" xlink:label="loc_qlys_LongTermInvestmentsMember_295D14C656915DBA89E6A87AA8DA8D2A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_FC4A8228ECA252E18F68503E9C064ECD" xlink:to="loc_qlys_LongTermInvestmentsMember_295D14C656915DBA89E6A87AA8DA8D2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_4E5CB2637ABC57199339A878B7D3C092" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_E7A751B3E68A5963BA3B2A6149623F8D" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_4E5CB2637ABC57199339A878B7D3C092" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_21E2B459CBC9A57A65FA98059B66BD3E_FB6578C4586055499EEF98C871E06923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_4E5CB2637ABC57199339A878B7D3C092" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_21E2B459CBC9A57A65FA98059B66BD3E_FB6578C4586055499EEF98C871E06923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D72BF594947F5F7F92CCA2D4393E8443" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_4E5CB2637ABC57199339A878B7D3C092" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D72BF594947F5F7F92CCA2D4393E8443" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashMember" xlink:label="loc_us-gaap_CashMember_4876C8F7D8515A1389D0F2C292223386" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D72BF594947F5F7F92CCA2D4393E8443" xlink:to="loc_us-gaap_CashMember_4876C8F7D8515A1389D0F2C292223386" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_A9D9E5D77D325FED8B5FA15512A8E274" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D72BF594947F5F7F92CCA2D4393E8443" xlink:to="loc_us-gaap_MoneyMarketFundsMember_A9D9E5D77D325FED8B5FA15512A8E274" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_7DD34A3BDDCB5071B6C8E57FA65C461D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D72BF594947F5F7F92CCA2D4393E8443" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_7DD34A3BDDCB5071B6C8E57FA65C461D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_E419B19B55605866A4A784C37A8AD7B1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D72BF594947F5F7F92CCA2D4393E8443" xlink:to="loc_us-gaap_CommercialPaperMember_E419B19B55605866A4A784C37A8AD7B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_789C7121403256D4B1F155C95B8E7172" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D72BF594947F5F7F92CCA2D4393E8443" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_789C7121403256D4B1F155C95B8E7172" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_5444E1D78A3459AB8919A30C55CA4FF4" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D72BF594947F5F7F92CCA2D4393E8443" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_5444E1D78A3459AB8919A30C55CA4FF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_E8D719CA28F2523497F053DCA1D361B4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_6A0EDFCB9D8F5B7FBDB003890993848D" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_E8D719CA28F2523497F053DCA1D361B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_BDA026BE8D6A5EEAB7632A9BC10DEE05" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_E8D719CA28F2523497F053DCA1D361B4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_BDA026BE8D6A5EEAB7632A9BC10DEE05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_6CA0D6FE5786527799ACF13AD6741BAE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_E8D719CA28F2523497F053DCA1D361B4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_6CA0D6FE5786527799ACF13AD6741BAE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_D3BCD07DA21554F5A62B367CC243DF9C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_E8D719CA28F2523497F053DCA1D361B4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_D3BCD07DA21554F5A62B367CC243DF9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesCurrent_44F1DD1413F254F686E00903BE6F21E1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_E8D719CA28F2523497F053DCA1D361B4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesCurrent_44F1DD1413F254F686E00903BE6F21E1" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsContractualMaturityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_312196EB1AA459E9A7C0DB63FE2C2660" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_2C4E6E8B00595E8FBCC04720CB0CB7A0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_312196EB1AA459E9A7C0DB63FE2C2660" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_2C4E6E8B00595E8FBCC04720CB0CB7A0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_E3A2C6D30EE854FEA147E7088C2E5939" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_2C4E6E8B00595E8FBCC04720CB0CB7A0" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_E3A2C6D30EE854FEA147E7088C2E5939" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BA0A25FD6345878F82DDBBB538073698_FB6578C4586055499EEF98C871E06923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_E3A2C6D30EE854FEA147E7088C2E5939" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BA0A25FD6345878F82DDBBB538073698_FB6578C4586055499EEF98C871E06923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_C6FFB221E6E75521AD45308EBC6CD660" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_E3A2C6D30EE854FEA147E7088C2E5939" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_C6FFB221E6E75521AD45308EBC6CD660" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_0D8E49465C26576F80579E19C0D20066" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_C6FFB221E6E75521AD45308EBC6CD660" xlink:to="loc_us-gaap_CommercialPaperMember_0D8E49465C26576F80579E19C0D20066" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_3A520AFABA565B148066C1F6C039B4A1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_C6FFB221E6E75521AD45308EBC6CD660" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_3A520AFABA565B148066C1F6C039B4A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_9EAA29344CA9542B8EC2DD2C29D6B463" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_C6FFB221E6E75521AD45308EBC6CD660" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_9EAA29344CA9542B8EC2DD2C29D6B463" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_C97E84A43DAF5A0A858629326A11D292" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_C6FFB221E6E75521AD45308EBC6CD660" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_C97E84A43DAF5A0A858629326A11D292" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesNextTwelveMonthsFairValue" xlink:label="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesNextTwelveMonthsFairValue_B96077D092435B4EB1A37349D8E1C34E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_312196EB1AA459E9A7C0DB63FE2C2660" xlink:to="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesNextTwelveMonthsFairValue_B96077D092435B4EB1A37349D8E1C34E" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesYearOneThroughTwoFairValue" xlink:label="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesYearOneThroughTwoFairValue_4DA535EB46C751AF957E286565D102A2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_312196EB1AA459E9A7C0DB63FE2C2660" xlink:to="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesYearOneThroughTwoFairValue_4DA535EB46C751AF957E286565D102A2" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesAfterYearTwoFairValue" xlink:label="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesAfterYearTwoFairValue_D1F2D32B986055249DEE7A765020E687" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_312196EB1AA459E9A7C0DB63FE2C2660" xlink:to="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesAfterYearTwoFairValue_D1F2D32B986055249DEE7A765020E687" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_2D363173631C563ABF0F91D2D23933CD" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_312196EB1AA459E9A7C0DB63FE2C2660" xlink:to="loc_us-gaap_AvailableForSaleSecurities_2D363173631C563ABF0F91D2D23933CD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsFairValueHierarchyDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_743A233A45B45708A2431017370E79B2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0044BA1EC181571EB1A834D43FE2DBC8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_743A233A45B45708A2431017370E79B2" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0044BA1EC181571EB1A834D43FE2DBC8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_F27B77AC2C3D503381DF248E980B0CEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0044BA1EC181571EB1A834D43FE2DBC8" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_F27B77AC2C3D503381DF248E980B0CEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_D5A7B7ACD593B4ED2B5CB520747F14DA_FB6578C4586055499EEF98C871E06923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_F27B77AC2C3D503381DF248E980B0CEF" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_D5A7B7ACD593B4ED2B5CB520747F14DA_FB6578C4586055499EEF98C871E06923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_830259CBC8FE53849068599413E2EFDC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_F27B77AC2C3D503381DF248E980B0CEF" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_830259CBC8FE53849068599413E2EFDC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_2BD81297C076533F9A2EE66752287DC5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_830259CBC8FE53849068599413E2EFDC" xlink:to="loc_us-gaap_ForwardContractsMember_2BD81297C076533F9A2EE66752287DC5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_B1A8093CC79E572FA49E607FB610FBCB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0044BA1EC181571EB1A834D43FE2DBC8" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_B1A8093CC79E572FA49E607FB610FBCB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A3BEA8B808B9E100CC7EB5207480E37B_FB6578C4586055499EEF98C871E06923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_B1A8093CC79E572FA49E607FB610FBCB" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A3BEA8B808B9E100CC7EB5207480E37B_FB6578C4586055499EEF98C871E06923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_66E653661E1850608C7CDE229C96C6F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_B1A8093CC79E572FA49E607FB610FBCB" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_66E653661E1850608C7CDE229C96C6F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_325F9A1FB2FB58D0BF52282837A98F52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_66E653661E1850608C7CDE229C96C6F5" xlink:to="loc_us-gaap_CommercialPaperMember_325F9A1FB2FB58D0BF52282837A98F52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_B7C488E280F95445A7694B3842A23FE9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_66E653661E1850608C7CDE229C96C6F5" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_B7C488E280F95445A7694B3842A23FE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_B56C22E707835BD985E39BEDDBC9EB29" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_66E653661E1850608C7CDE229C96C6F5" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_B56C22E707835BD985E39BEDDBC9EB29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_6B3401D6A5E556BF814563FFA7FA8076" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_66E653661E1850608C7CDE229C96C6F5" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_6B3401D6A5E556BF814563FFA7FA8076" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_240EA74C5E9150BF8953B1000FC75534" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0044BA1EC181571EB1A834D43FE2DBC8" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_240EA74C5E9150BF8953B1000FC75534" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1DEB9D8061820D2597AFB5207481673D_FB6578C4586055499EEF98C871E06923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_240EA74C5E9150BF8953B1000FC75534" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1DEB9D8061820D2597AFB5207481673D_FB6578C4586055499EEF98C871E06923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D69535E6D4E052979E81E5D3A229463E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_240EA74C5E9150BF8953B1000FC75534" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D69535E6D4E052979E81E5D3A229463E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_09800A3E7BCB5DC2A3366C40F3558DF5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D69535E6D4E052979E81E5D3A229463E" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_09800A3E7BCB5DC2A3366C40F3558DF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_F8FE2F95CA7D5EC8869D7BDA36454CEE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D69535E6D4E052979E81E5D3A229463E" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_F8FE2F95CA7D5EC8869D7BDA36454CEE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_7F649045D3BD5F91A1FE3E18754B7811" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D69535E6D4E052979E81E5D3A229463E" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_7F649045D3BD5F91A1FE3E18754B7811" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_AE26A241320D5ECC878DC820714913D2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0044BA1EC181571EB1A834D43FE2DBC8" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_AE26A241320D5ECC878DC820714913D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_81D9CC1133DACC12ED7FB520748141EF_FB6578C4586055499EEF98C871E06923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_AE26A241320D5ECC878DC820714913D2" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_81D9CC1133DACC12ED7FB520748141EF_FB6578C4586055499EEF98C871E06923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_2BC78973B5C05F39B272192383B853D2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_AE26A241320D5ECC878DC820714913D2" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_2BC78973B5C05F39B272192383B853D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_09C876F0448D58658C5BA222C2B07260" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_2BC78973B5C05F39B272192383B853D2" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_09C876F0448D58658C5BA222C2B07260" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_11AF389D9D705AA8910D453C31E97A1D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0044BA1EC181571EB1A834D43FE2DBC8" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_11AF389D9D705AA8910D453C31E97A1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_4973AF30BC3179CEAFADB5207482586F_FB6578C4586055499EEF98C871E06923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_11AF389D9D705AA8910D453C31E97A1D" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_4973AF30BC3179CEAFADB5207482586F_FB6578C4586055499EEF98C871E06923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_2437E0707A7C589F813CCF3DC5E12D84" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_11AF389D9D705AA8910D453C31E97A1D" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_2437E0707A7C589F813CCF3DC5E12D84" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_62DED466D0F558BE8E7A94BCCCB9D6CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_2437E0707A7C589F813CCF3DC5E12D84" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_62DED466D0F558BE8E7A94BCCCB9D6CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_E614A607E61654D698D25CC5181B6E1C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_2437E0707A7C589F813CCF3DC5E12D84" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_E614A607E61654D698D25CC5181B6E1C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosureAbstract" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_BEBE72EC868E50A9AEE6907DC46797CB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_743A233A45B45708A2431017370E79B2" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_BEBE72EC868E50A9AEE6907DC46797CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_1229E1DD454C581C804088A9CD392E1F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_BEBE72EC868E50A9AEE6907DC46797CB" xlink:to="loc_us-gaap_AvailableForSaleSecurities_1229E1DD454C581C804088A9CD392E1F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_17EC3954972B5222A66288D48E577124" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D7D95E912245596899BDE20872463088" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_17EC3954972B5222A66288D48E577124" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D7D95E912245596899BDE20872463088" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_4006B152F8E15112A889383E0DC8FB04" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D7D95E912245596899BDE20872463088" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_4006B152F8E15112A889383E0DC8FB04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_971FE58CB90B9BC46952B520747122D2_FB6578C4586055499EEF98C871E06923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_4006B152F8E15112A889383E0DC8FB04" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_971FE58CB90B9BC46952B520747122D2_FB6578C4586055499EEF98C871E06923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_4F528295691758408FD3CFEFC434B757" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_4006B152F8E15112A889383E0DC8FB04" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_4F528295691758408FD3CFEFC434B757" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_984122137F0C5EC5AD2649370C9B71DF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_4F528295691758408FD3CFEFC434B757" xlink:to="loc_us-gaap_ForwardContractsMember_984122137F0C5EC5AD2649370C9B71DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_A5F8F5B7DBD8553EBBFE6EB4003549EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_17EC3954972B5222A66288D48E577124" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_A5F8F5B7DBD8553EBBFE6EB4003549EF" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNet" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetDetails" xlink:type="extended">
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems" xlink:label="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_9C7C0DD6D58470D7A342DF1EBDCEC90A" xlink:type="locator" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ScheduleOfGoodwillAndIntangibleAssetsTable" xlink:label="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_2F30345E09D192090BEBDF1EBDCC28BC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_9C7C0DD6D58470D7A342DF1EBDCEC90A" xlink:to="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_2F30345E09D192090BEBDF1EBDCC28BC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_3C7A6B81A02E478F473FDF871E983D04" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_2F30345E09D192090BEBDF1EBDCC28BC" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_3C7A6B81A02E478F473FDF871E983D04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C885ED010209F9C02BCADF871E997F6C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3C7A6B81A02E478F473FDF871E983D04" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C885ED010209F9C02BCADF871E997F6C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C885ED010209F9C02BCADF871E997F6C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3C7A6B81A02E478F473FDF871E983D04" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C885ED010209F9C02BCADF871E997F6C" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_A1MobilityMember" xlink:label="loc_qlys_A1MobilityMember_C492849BB21B33DC1058DF871F3E41C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C885ED010209F9C02BCADF871E997F6C" xlink:to="loc_qlys_A1MobilityMember_C492849BB21B33DC1058DF871F3E41C2" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_LayeredInsightsMember" xlink:label="loc_qlys_LayeredInsightsMember_3B395D615507C90C03BDDF8720173C48" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C885ED010209F9C02BCADF871E997F6C" xlink:to="loc_qlys_LayeredInsightsMember_3B395D615507C90C03BDDF8720173C48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EA980102C48F64EA7950DF1EBDCC771D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_2F30345E09D192090BEBDF1EBDCC28BC" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EA980102C48F64EA7950DF1EBDCC771D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_35EE951ECBC1154E739DDF1EBDCDE480_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EA980102C48F64EA7950DF1EBDCC771D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_35EE951ECBC1154E739DDF1EBDCDE480_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_35EE951ECBC1154E739DDF1EBDCDE480" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EA980102C48F64EA7950DF1EBDCC771D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_35EE951ECBC1154E739DDF1EBDCDE480" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_E4BFA134ED3BAAE22AC4DF1EBDCD7EFC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_35EE951ECBC1154E739DDF1EBDCDE480" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_E4BFA134ED3BAAE22AC4DF1EBDCD7EFC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PatentsMember" xlink:label="loc_us-gaap_PatentsMember_0432216F2293510C4BBBDF1EBDCE850C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_35EE951ECBC1154E739DDF1EBDCDE480" xlink:to="loc_us-gaap_PatentsMember_0432216F2293510C4BBBDF1EBDCE850C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_460A6D259D249AB01A22DF871D23FC51" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_9C7C0DD6D58470D7A342DF1EBDCEC90A" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_460A6D259D249AB01A22DF871D23FC51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_25FC430340744866F6E9DF1EBDCEAC7F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_9C7C0DD6D58470D7A342DF1EBDCEC90A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_25FC430340744866F6E9DF1EBDCEAC7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1_CF6F2D89EDBF70CF32C9DF1EBDCF7212" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_9C7C0DD6D58470D7A342DF1EBDCEC90A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1_CF6F2D89EDBF70CF32C9DF1EBDCF7212" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_0D6CFF52315A6ABAB9A0DF1EBDCF8082" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_9C7C0DD6D58470D7A342DF1EBDCEC90A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_0D6CFF52315A6ABAB9A0DF1EBDCF8082" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_95162A0277F8E202D152DF1EBDCF5234" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_9C7C0DD6D58470D7A342DF1EBDCEC90A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_95162A0277F8E202D152DF1EBDCF5234" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_F5DEFF13F93253EFA9F2DF1EBDCFCA9D" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_9C7C0DD6D58470D7A342DF1EBDCEC90A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_F5DEFF13F93253EFA9F2DF1EBDCFCA9D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_66346924BAE8966BC5EDDF1EBDCF3E4D" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_9C7C0DD6D58470D7A342DF1EBDCEC90A" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_66346924BAE8966BC5EDDF1EBDCF3E4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_70F021E157CFFDC5976DDF1EBDCF28C2" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_9C7C0DD6D58470D7A342DF1EBDCEC90A" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_70F021E157CFFDC5976DDF1EBDCF28C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_4254AACBEC9BCBB0BCBFDF1EBDD0F407" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_9C7C0DD6D58470D7A342DF1EBDCEC90A" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_4254AACBEC9BCBB0BCBFDF1EBDD0F407" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_88284F7ECBEE475A3F85DF1EBDD07D2F" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_9C7C0DD6D58470D7A342DF1EBDCEC90A" xlink:to="loc_us-gaap_Goodwill_88284F7ECBEE475A3F85DF1EBDD07D2F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetFutureAmortizationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesIncomeBeforeProvisionForBenefitFromIncomeTaxesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="qlys-20181231.xsd#qlys_IncomeTaxLineItems" xlink:label="loc_qlys_IncomeTaxLineItems_C2CA1DB7E802E122490210B2C3589BCA" xlink:type="locator" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_IncomeTaxTable" xlink:label="loc_qlys_IncomeTaxTable_56199E01F24E15D2536710B2C35578AE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_qlys_IncomeTaxLineItems_C2CA1DB7E802E122490210B2C3589BCA" xlink:to="loc_qlys_IncomeTaxTable_56199E01F24E15D2536710B2C35578AE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_EE290DF09AA697071AED10B2C3556898" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_IncomeTaxTable_56199E01F24E15D2536710B2C35578AE" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_EE290DF09AA697071AED10B2C3556898" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_6AE644181AE1C41D474E10B2C35574A3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_EE290DF09AA697071AED10B2C3556898" xlink:to="loc_us-gaap_EquityComponentDomain_6AE644181AE1C41D474E10B2C35574A3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_6AE644181AE1C41D474E10B2C35574A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_EE290DF09AA697071AED10B2C3556898" xlink:to="loc_us-gaap_EquityComponentDomain_6AE644181AE1C41D474E10B2C35574A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_DE5D69F276A87B7B77D910B2C356064A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_6AE644181AE1C41D474E10B2C35574A3" xlink:to="loc_us-gaap_RetainedEarningsMember_DE5D69F276A87B7B77D910B2C356064A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis" xlink:label="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_8BC9E9203C0B6947722F10B2C356544A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_IncomeTaxTable_56199E01F24E15D2536710B2C35578AE" xlink:to="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_8BC9E9203C0B6947722F10B2C356544A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_4885B09E60DF82C4C19810B2C3562A62_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_8BC9E9203C0B6947722F10B2C356544A" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_4885B09E60DF82C4C19810B2C3562A62_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_4885B09E60DF82C4C19810B2C3562A62" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_8BC9E9203C0B6947722F10B2C356544A" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_4885B09E60DF82C4C19810B2C3562A62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_5CCEE085AB16515BB2D210B2C3569D3C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingPrincipleMember_4885B09E60DF82C4C19810B2C3562A62" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_5CCEE085AB16515BB2D210B2C3569D3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_078DB6D838AB4BAFEEF510B2C3576044" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_IncomeTaxTable_56199E01F24E15D2536710B2C35578AE" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_078DB6D838AB4BAFEEF510B2C3576044" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_EC440B6115888ADB75C510B2C357C7F9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_078DB6D838AB4BAFEEF510B2C3576044" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_EC440B6115888ADB75C510B2C357C7F9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_EC440B6115888ADB75C510B2C357C7F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_078DB6D838AB4BAFEEF510B2C3576044" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_EC440B6115888ADB75C510B2C357C7F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_F9A39E550D5902B094DA10B2C357DD4F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_EC440B6115888ADB75C510B2C357C7F9" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_F9A39E550D5902B094DA10B2C357DD4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DomesticCountryMember" xlink:label="loc_us-gaap_DomesticCountryMember_E8F4A4320FFD0807F4E710C79390C8F0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_EC440B6115888ADB75C510B2C357C7F9" xlink:to="loc_us-gaap_DomesticCountryMember_E8F4A4320FFD0807F4E710C79390C8F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignCountryMember" xlink:label="loc_us-gaap_ForeignCountryMember_D674DE6E0E91A7FAE8FE10B2C357F9B3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_EC440B6115888ADB75C510B2C357C7F9" xlink:to="loc_us-gaap_ForeignCountryMember_D674DE6E0E91A7FAE8FE10B2C357F9B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardAxis" xlink:label="loc_us-gaap_TaxCreditCarryforwardAxis_6A3AA53C17B1185F28D510B2C3586B5F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_IncomeTaxTable_56199E01F24E15D2536710B2C35578AE" xlink:to="loc_us-gaap_TaxCreditCarryforwardAxis_6A3AA53C17B1185F28D510B2C3586B5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_1A300DE4BC7E0AEBA17210B2C358A4B3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_6A3AA53C17B1185F28D510B2C3586B5F" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_1A300DE4BC7E0AEBA17210B2C358A4B3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_1A300DE4BC7E0AEBA17210B2C358A4B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_6A3AA53C17B1185F28D510B2C3586B5F" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_1A300DE4BC7E0AEBA17210B2C358A4B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchMember" xlink:label="loc_us-gaap_ResearchMember_023951A031F4D029CE1E10B2C35815C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardNameDomain_1A300DE4BC7E0AEBA17210B2C358A4B3" xlink:to="loc_us-gaap_ResearchMember_023951A031F4D029CE1E10B2C35815C7" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit" xlink:label="loc_qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit_AAB5D582240D620C10D110B2C358421B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_C2CA1DB7E802E122490210B2C3589BCA" xlink:to="loc_qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit_AAB5D582240D620C10D110B2C358421B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_FD6903A5EC5170809B3310B2C359996A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_C2CA1DB7E802E122490210B2C3589BCA" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_FD6903A5EC5170809B3310B2C359996A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_1067B579500376C0DD1610B2C359A675" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_C2CA1DB7E802E122490210B2C3589BCA" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_1067B579500376C0DD1610B2C359A675" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_3FD14CC75C140D2DFC6210B2C35AB136" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_C2CA1DB7E802E122490210B2C3589BCA" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_3FD14CC75C140D2DFC6210B2C35AB136" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:label="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_0E0E8DFA584CFF2AC5E110B2C35A7C7F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_C2CA1DB7E802E122490210B2C3589BCA" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_0E0E8DFA584CFF2AC5E110B2C35A7C7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="loc_us-gaap_OperatingLossCarryforwards_0B226C2B9965A0DAEAE810B2C35A9B0E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_C2CA1DB7E802E122490210B2C3589BCA" xlink:to="loc_us-gaap_OperatingLossCarryforwards_0B226C2B9965A0DAEAE810B2C35A9B0E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardAmount" xlink:label="loc_us-gaap_TaxCreditCarryforwardAmount_818F6594BA9ED793395510B2C35A6D25" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_C2CA1DB7E802E122490210B2C3589BCA" xlink:to="loc_us-gaap_TaxCreditCarryforwardAmount_818F6594BA9ED793395510B2C35A6D25" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_633E3FB22DA0E4F31D3F10B2C35A4362" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_C2CA1DB7E802E122490210B2C3589BCA" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_633E3FB22DA0E4F31D3F10B2C35A4362" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesProvisionForBenefitFromIncomeTaxesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesTaxRateReconciliationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholders" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholdersDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_C2BA7E31B7DA58C3D09ADF1EBB71D1F0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_A93313D97CBA76AAFAE7DF1EBB6EE614" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_C2BA7E31B7DA58C3D09ADF1EBB71D1F0" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_A93313D97CBA76AAFAE7DF1EBB6EE614" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_729793DF46E733C400FADF1EBB6FA9D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_A93313D97CBA76AAFAE7DF1EBB6EE614" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_729793DF46E733C400FADF1EBB6FA9D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_00A5BF29336D8FDA121ADF1EBB700E91_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_729793DF46E733C400FADF1EBB6FA9D3" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_00A5BF29336D8FDA121ADF1EBB700E91_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_00A5BF29336D8FDA121ADF1EBB700E91" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_729793DF46E733C400FADF1EBB6FA9D3" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_00A5BF29336D8FDA121ADF1EBB700E91" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_CAD13060C3D478A63C71DF1EBB708A12" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_00A5BF29336D8FDA121ADF1EBB700E91" xlink:to="loc_us-gaap_EmployeeStockOptionMember_CAD13060C3D478A63C71DF1EBB708A12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_B65E448A913E8A66CB83DF1EBB701EE4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_00A5BF29336D8FDA121ADF1EBB700E91" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_B65E448A913E8A66CB83DF1EBB701EE4" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_NumeratorAbstract" xlink:label="loc_qlys_NumeratorAbstract_875C7ED6CF6810EEC8DADF1EBB716472" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_C2BA7E31B7DA58C3D09ADF1EBB71D1F0" xlink:to="loc_qlys_NumeratorAbstract_875C7ED6CF6810EEC8DADF1EBB716472" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_E4AA1AB5597DF2E1DB62DFB00C76C553" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_NumeratorAbstract_875C7ED6CF6810EEC8DADF1EBB716472" xlink:to="loc_us-gaap_NetIncomeLoss_E4AA1AB5597DF2E1DB62DFB00C76C553" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_DenominatorAbstract" xlink:label="loc_qlys_DenominatorAbstract_EB5698C7144DA5A572A0DF1EBB7242DF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_C2BA7E31B7DA58C3D09ADF1EBB71D1F0" xlink:to="loc_qlys_DenominatorAbstract_EB5698C7144DA5A572A0DF1EBB7242DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_9F69C3FC8A7925FA231EDF1EBB720C0D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_DenominatorAbstract_EB5698C7144DA5A572A0DF1EBB7242DF" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_9F69C3FC8A7925FA231EDF1EBB720C0D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DilutiveSecuritiesAbstract" xlink:label="loc_us-gaap_DilutiveSecuritiesAbstract_8CABD415BBF144BA5D76DF1EBB73CF81" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_DenominatorAbstract_EB5698C7144DA5A572A0DF1EBB7242DF" xlink:to="loc_us-gaap_DilutiveSecuritiesAbstract_8CABD415BBF144BA5D76DF1EBB73CF81" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_3239ACC311F91A7962FADF1EBB7370CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DilutiveSecuritiesAbstract_8CABD415BBF144BA5D76DF1EBB73CF81" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_3239ACC311F91A7962FADF1EBB7370CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_B6E6CFE3C2E457D1C2EDDF1EBB731D13" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DilutiveSecuritiesAbstract_8CABD415BBF144BA5D76DF1EBB73CF81" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_B6E6CFE3C2E457D1C2EDDF1EBB731D13" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8BB7E78D1953DB295945DF1EBB73C4B2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_DenominatorAbstract_EB5698C7144DA5A572A0DF1EBB7242DF" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8BB7E78D1953DB295945DF1EBB73C4B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_7B1342BD54F832679E31DF1EBB748404" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_C2BA7E31B7DA58C3D09ADF1EBB71D1F0" xlink:to="loc_us-gaap_EarningsPerShareBasic_7B1342BD54F832679E31DF1EBB748404" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_650F8713057594DEAA2EDF1EBB745954" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_C2BA7E31B7DA58C3D09ADF1EBB71D1F0" xlink:to="loc_us-gaap_EarningsPerShareDiluted_650F8713057594DEAA2EDF1EBB745954" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_AntidilutiveSecuritiesAbstract" xlink:label="loc_qlys_AntidilutiveSecuritiesAbstract_889D58789D9F8F3BAF9BDF1EBB7426A8" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_C2BA7E31B7DA58C3D09ADF1EBB71D1F0" xlink:to="loc_qlys_AntidilutiveSecuritiesAbstract_889D58789D9F8F3BAF9BDF1EBB7426A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_22F4E88F3D58A4A113CCDF1EBB74BFA2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_AntidilutiveSecuritiesAbstract_889D58789D9F8F3BAF9BDF1EBB7426A8" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_22F4E88F3D58A4A113CCDF1EBB74BFA2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholdersTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/OtherIncomeExpenseNet" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/OtherIncomeExpenseNetDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/OtherIncomeExpenseNetTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/PropertyAndEquipmentNet" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/PropertyAndEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_E1EC8F7BA6C97136540FDF1EBE2612CF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_2FC168403FF232E4F491DF1EBE23317B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_E1EC8F7BA6C97136540FDF1EBE2612CF" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_2FC168403FF232E4F491DF1EBE23317B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_5CB6BE2C2A55386B7083DF1EBE24964E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_2FC168403FF232E4F491DF1EBE23317B" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_5CB6BE2C2A55386B7083DF1EBE24964E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FF2879835D32D54F5E8CDF1EBE247338_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_5CB6BE2C2A55386B7083DF1EBE24964E" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FF2879835D32D54F5E8CDF1EBE247338_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FF2879835D32D54F5E8CDF1EBE247338" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_5CB6BE2C2A55386B7083DF1EBE24964E" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FF2879835D32D54F5E8CDF1EBE247338" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_9453C325A4C0117D151DDF1EBE244C60" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FF2879835D32D54F5E8CDF1EBE247338" xlink:to="loc_us-gaap_ComputerEquipmentMember_9453C325A4C0117D151DDF1EBE244C60" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComputerSoftwareIntangibleAssetMember" xlink:label="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_3533F49EF8DDC0DD5844DF1EBE259C0F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FF2879835D32D54F5E8CDF1EBE247338" xlink:to="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_3533F49EF8DDC0DD5844DF1EBE259C0F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_CF9B53159D4147B86725DF1EBE25B61A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FF2879835D32D54F5E8CDF1EBE247338" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_CF9B53159D4147B86725DF1EBE25B61A" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_EquipmentUnderCapitalLeaseMember" xlink:label="loc_qlys_EquipmentUnderCapitalLeaseMember_4173BF3F06994FBE5365DF647028A897" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FF2879835D32D54F5E8CDF1EBE247338" xlink:to="loc_qlys_EquipmentUnderCapitalLeaseMember_4173BF3F06994FBE5365DF647028A897" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ScannerAppliancesMember" xlink:label="loc_qlys_ScannerAppliancesMember_02B76982B108A6050721DF1EBE258879" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FF2879835D32D54F5E8CDF1EBE247338" xlink:to="loc_qlys_ScannerAppliancesMember_02B76982B108A6050721DF1EBE258879" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ScannerAppliancesAndOtherComputerEquipmentSubjectToSubscriptionMember" xlink:label="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentSubjectToSubscriptionMember_62527C51F617A60FC70BDF1EBE25A27F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScannerAppliancesMember_02B76982B108A6050721DF1EBE258879" xlink:to="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentSubjectToSubscriptionMember_62527C51F617A60FC70BDF1EBE25A27F" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_ScannerAppliancesAndOtherComputerEquipmentNotPlacedInServiceMember" xlink:label="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentNotPlacedInServiceMember_4D8B63AA550B93DE38E9DF1EBE26F29C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScannerAppliancesMember_02B76982B108A6050721DF1EBE258879" xlink:to="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentNotPlacedInServiceMember_4D8B63AA550B93DE38E9DF1EBE26F29C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_7DC20FFB4A2D3EFF19ECDF1EBE26506C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FF2879835D32D54F5E8CDF1EBE247338" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_7DC20FFB4A2D3EFF19ECDF1EBE26506C" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_OtherFixedAssetsNotPlacedInServiceMember" xlink:label="loc_qlys_OtherFixedAssetsNotPlacedInServiceMember_44F451F9594ABD547E85DF1EBE262D80" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FF2879835D32D54F5E8CDF1EBE247338" xlink:to="loc_qlys_OtherFixedAssetsNotPlacedInServiceMember_44F451F9594ABD547E85DF1EBE262D80" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_4C398724D85EBEF0046FDF1EBE26460A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_E1EC8F7BA6C97136540FDF1EBE2612CF" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_4C398724D85EBEF0046FDF1EBE26460A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_A5CA0EE2CE8285B0BB56DF1EBE27B84A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_E1EC8F7BA6C97136540FDF1EBE2612CF" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_A5CA0EE2CE8285B0BB56DF1EBE27B84A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_9873F7E1514210F13EC8DF1EBE27B993" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_E1EC8F7BA6C97136540FDF1EBE2612CF" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_9873F7E1514210F13EC8DF1EBE27B993" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_DepreciationDepletionAndAmortizationExcludingIntangibleAssetAmortization" xlink:label="loc_qlys_DepreciationDepletionAndAmortizationExcludingIntangibleAssetAmortization_DCC3A2505458A7AF7DA9DF1EBE27D82B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_E1EC8F7BA6C97136540FDF1EBE2612CF" xlink:to="loc_qlys_DepreciationDepletionAndAmortizationExcludingIntangibleAssetAmortization_DCC3A2505458A7AF7DA9DF1EBE27D82B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsDisposedOfByMethodOtherThanSaleInPeriodOfDispositionGainLossOnDisposition1" xlink:label="loc_us-gaap_AssetsDisposedOfByMethodOtherThanSaleInPeriodOfDispositionGainLossOnDisposition1_C5975CC73AA3A17B5B1CDF1EBE27BA16" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_E1EC8F7BA6C97136540FDF1EBE2612CF" xlink:to="loc_us-gaap_AssetsDisposedOfByMethodOtherThanSaleInPeriodOfDispositionGainLossOnDisposition1_C5975CC73AA3A17B5B1CDF1EBE27BA16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent_21F7BCFE2D5F1DC48909DF1EBE277635" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_E1EC8F7BA6C97136540FDF1EBE2612CF" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent_21F7BCFE2D5F1DC48909DF1EBE277635" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationDepreciationAndAmortization" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationDepreciationAndAmortization_25656D3E19FC1DBAC0ABDF1EBE27D038" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_E1EC8F7BA6C97136540FDF1EBE2612CF" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationDepreciationAndAmortization_25656D3E19FC1DBAC0ABDF1EBE27D038" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/PropertyAndEquipmentNetTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/QuarterlyFinancialInformationUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/QuarterlyFinancialInformationUnauditedDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/QuarterlyFinancialInformationUnauditedTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomers" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersAccountsReceivableNetDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersCommissionAssetBalancesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersDeferredRevenuesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementLineItems" xlink:label="loc_us-gaap_DeferredRevenueArrangementLineItems_826A5129A54AD58BF9A0DF6824F37C5D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementByTypeTable" xlink:label="loc_us-gaap_DeferredRevenueArrangementByTypeTable_268A5405E57C5A5A1949DF6824F1D239" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_826A5129A54AD58BF9A0DF6824F37C5D" xlink:to="loc_us-gaap_DeferredRevenueArrangementByTypeTable_268A5405E57C5A5A1949DF6824F1D239" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeAxis" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeAxis_82E803BDBA61B0A27749DF6824F2A345" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DeferredRevenueArrangementByTypeTable_268A5405E57C5A5A1949DF6824F1D239" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_82E803BDBA61B0A27749DF6824F2A345" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_3D1B1A09621C5AA50F26DF6824F28F22_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_82E803BDBA61B0A27749DF6824F2A345" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_3D1B1A09621C5AA50F26DF6824F28F22_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_3D1B1A09621C5AA50F26DF6824F28F22" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_82E803BDBA61B0A27749DF6824F2A345" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_3D1B1A09621C5AA50F26DF6824F28F22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_F2396E8BB6AA6320AC40DF6824F38C3C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_3D1B1A09621C5AA50F26DF6824F28F22" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_F2396E8BB6AA6320AC40DF6824F38C3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_7585C7AA931721882784DF6824F347D2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_3D1B1A09621C5AA50F26DF6824F28F22" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_7585C7AA931721882784DF6824F347D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueCurrent" xlink:label="loc_us-gaap_DeferredRevenueCurrent_65510AD956B68B210F3ADF6824F35818" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_826A5129A54AD58BF9A0DF6824F37C5D" xlink:to="loc_us-gaap_DeferredRevenueCurrent_65510AD956B68B210F3ADF6824F35818" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueNoncurrent" xlink:label="loc_us-gaap_DeferredRevenueNoncurrent_BFF2A12923BC1FAD3C9EDF6824F4E237" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_826A5129A54AD58BF9A0DF6824F37C5D" xlink:to="loc_us-gaap_DeferredRevenueNoncurrent_BFF2A12923BC1FAD3C9EDF6824F4E237" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenue" xlink:label="loc_us-gaap_DeferredRevenue_FBD56B3E6261DDC68FCBDF6824F911B4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_826A5129A54AD58BF9A0DF6824F37C5D" xlink:to="loc_us-gaap_DeferredRevenue_FBD56B3E6261DDC68FCBDF6824F911B4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_6676106A523DA70C197627DF0E186ED9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_D7FA634E97B12D6A8E3D27DF0E154611" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_6676106A523DA70C197627DF0E186ED9" xlink:to="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_D7FA634E97B12D6A8E3D27DF0E154611" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductOrServiceAxis" xlink:label="loc_us-gaap_ProductOrServiceAxis_645903C8A0E28B34029127DF0E15FD53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_D7FA634E97B12D6A8E3D27DF0E154611" xlink:to="loc_us-gaap_ProductOrServiceAxis_645903C8A0E28B34029127DF0E15FD53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_80092B2E0FD5B808DC5127DF0E15542D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ProductOrServiceAxis_645903C8A0E28B34029127DF0E15FD53" xlink:to="loc_us-gaap_ProductsAndServicesDomain_80092B2E0FD5B808DC5127DF0E15542D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_80092B2E0FD5B808DC5127DF0E15542D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ProductOrServiceAxis_645903C8A0E28B34029127DF0E15FD53" xlink:to="loc_us-gaap_ProductsAndServicesDomain_80092B2E0FD5B808DC5127DF0E15542D" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_SubscriptionRevenueMember" xlink:label="loc_qlys_SubscriptionRevenueMember_1BF539D4DE993109366227DF0E152E5C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_80092B2E0FD5B808DC5127DF0E15542D" xlink:to="loc_qlys_SubscriptionRevenueMember_1BF539D4DE993109366227DF0E152E5C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_C5CC38CD73F8582DD88727DF0E16C8CE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_D7FA634E97B12D6A8E3D27DF0E154611" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_C5CC38CD73F8582DD88727DF0E16C8CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_93925C8F94A196D8B4E727DF0E16F2C1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_C5CC38CD73F8582DD88727DF0E16C8CE" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_93925C8F94A196D8B4E727DF0E16F2C1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_93925C8F94A196D8B4E727DF0E16F2C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_C5CC38CD73F8582DD88727DF0E16C8CE" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_93925C8F94A196D8B4E727DF0E16F2C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member" xlink:label="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_0BBD37AB18FB08ADFBC627DF0E16B438" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_93925C8F94A196D8B4E727DF0E16F2C1" xlink:to="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_0BBD37AB18FB08ADFBC627DF0E16B438" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_8D58B9F2C63E590B8AFB27DF0E16391B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_D7FA634E97B12D6A8E3D27DF0E154611" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_8D58B9F2C63E590B8AFB27DF0E16391B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_C2547248E27A9B90E8F427DF0E16DC21_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_8D58B9F2C63E590B8AFB27DF0E16391B" xlink:to="loc_us-gaap_TypeOfAdoptionMember_C2547248E27A9B90E8F427DF0E16DC21_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_C2547248E27A9B90E8F427DF0E16DC21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_8D58B9F2C63E590B8AFB27DF0E16391B" xlink:to="loc_us-gaap_TypeOfAdoptionMember_C2547248E27A9B90E8F427DF0E16DC21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_E96F90559F663E61A2CC27DF0E182B18" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_C2547248E27A9B90E8F427DF0E16DC21" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_E96F90559F663E61A2CC27DF0E182B18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_9BA99635810D5934F03A27DF0E18F48A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_6676106A523DA70C197627DF0E186ED9" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_9BA99635810D5934F03A27DF0E18F48A" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_CommissionAsset" xlink:label="loc_qlys_CommissionAsset_403549D2064793816C3B27DF0E187775" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_6676106A523DA70C197627DF0E186ED9" xlink:to="loc_qlys_CommissionAsset_403549D2064793816C3B27DF0E187775" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxLiabilities" xlink:label="loc_us-gaap_DeferredTaxLiabilities_B0D6EC86B40F251C91D627DF0E18C7CA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_6676106A523DA70C197627DF0E186ED9" xlink:to="loc_us-gaap_DeferredTaxLiabilities_B0D6EC86B40F251C91D627DF0E18C7CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AmortizationOfDeferredSalesCommissions" xlink:label="loc_us-gaap_AmortizationOfDeferredSalesCommissions_9C64F63F3858A37B23AF27DF0E18BEB8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_6676106A523DA70C197627DF0E186ED9" xlink:to="loc_us-gaap_AmortizationOfDeferredSalesCommissions_9C64F63F3858A37B23AF27DF0E18BEB8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_76F54B6DDF35AFED65D027DF0E18D56F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_6676106A523DA70C197627DF0E186ED9" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_76F54B6DDF35AFED65D027DF0E18D56F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate" xlink:label="loc_us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate_01ED2BA1C3FC9038997F27DF0E187E17" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_6676106A523DA70C197627DF0E186ED9" xlink:to="loc_us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate_01ED2BA1C3FC9038997F27DF0E187E17" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersRevenueBySalesChannelDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_9AAB909983AB8A69A662DF68273B07A1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_F4832875E9E92DEC5C7EDF6827371B1F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_9AAB909983AB8A69A662DF68273B07A1" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_F4832875E9E92DEC5C7EDF6827371B1F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeAxis" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeAxis_78943723B1D11733A588DF6827372A63" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_F4832875E9E92DEC5C7EDF6827371B1F" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_78943723B1D11733A588DF6827372A63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_00AD9199B42BD0DCCD76DF682738F63B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_78943723B1D11733A588DF6827372A63" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_00AD9199B42BD0DCCD76DF682738F63B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_00AD9199B42BD0DCCD76DF682738F63B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_78943723B1D11733A588DF6827372A63" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_00AD9199B42BD0DCCD76DF682738F63B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_63C2B62493C76C59AA3EDF682738F5D8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_00AD9199B42BD0DCCD76DF682738F63B" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_63C2B62493C76C59AA3EDF682738F5D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_F065AC6BD34C46510E26DF682739F04F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_00AD9199B42BD0DCCD76DF682738F63B" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_F065AC6BD34C46510E26DF682739F04F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelAxis" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelAxis_B51B3057F46CD4909DAEDF6827397B1C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_F4832875E9E92DEC5C7EDF6827371B1F" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelAxis_B51B3057F46CD4909DAEDF6827397B1C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelDomain" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelDomain_4889BEEE45B698B2F331DF68273A7543_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_B51B3057F46CD4909DAEDF6827397B1C" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_4889BEEE45B698B2F331DF68273A7543_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelDomain" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelDomain_4889BEEE45B698B2F331DF68273A7543" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_B51B3057F46CD4909DAEDF6827397B1C" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_4889BEEE45B698B2F331DF68273A7543" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesChannelDirectlyToConsumerMember" xlink:label="loc_us-gaap_SalesChannelDirectlyToConsumerMember_A74AD97BC59B9372175DDF68273A49C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_4889BEEE45B698B2F331DF68273A7543" xlink:to="loc_us-gaap_SalesChannelDirectlyToConsumerMember_A74AD97BC59B9372175DDF68273A49C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesChannelThroughIntermediaryMember" xlink:label="loc_us-gaap_SalesChannelThroughIntermediaryMember_DC5B3B0BCA8073B82BE3DF68273A6F53" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_4889BEEE45B698B2F331DF68273A7543" xlink:to="loc_us-gaap_SalesChannelThroughIntermediaryMember_DC5B3B0BCA8073B82BE3DF68273A6F53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_223BF559E9B5C71D2F5FDF68273B1256" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_9AAB909983AB8A69A662DF68273B07A1" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_223BF559E9B5C71D2F5FDF68273B1256" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersUnbilledContractsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementLineItems" xlink:label="loc_us-gaap_DeferredRevenueArrangementLineItems_77A8EE82493221516287DF68267A2B0D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementByTypeTable" xlink:label="loc_us-gaap_DeferredRevenueArrangementByTypeTable_8046D67C54C5490E160EDF682678C662" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_77A8EE82493221516287DF68267A2B0D" xlink:to="loc_us-gaap_DeferredRevenueArrangementByTypeTable_8046D67C54C5490E160EDF682678C662" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeAxis" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeAxis_1D4EAEF0DD0C04CD6CA7DF6826783AAF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DeferredRevenueArrangementByTypeTable_8046D67C54C5490E160EDF682678C662" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_1D4EAEF0DD0C04CD6CA7DF6826783AAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_9D9D64587156295C255BDF682679A1C5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_1D4EAEF0DD0C04CD6CA7DF6826783AAF" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_9D9D64587156295C255BDF682679A1C5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_9D9D64587156295C255BDF682679A1C5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_1D4EAEF0DD0C04CD6CA7DF6826783AAF" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_9D9D64587156295C255BDF682679A1C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_153C3D88D7F3944BB52FDF68267904D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_9D9D64587156295C255BDF682679A1C5" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_153C3D88D7F3944BB52FDF68267904D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_C3909746D5EB02620FE3DF68267922CC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_9D9D64587156295C255BDF682679A1C5" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_C3909746D5EB02620FE3DF68267922CC" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInRemainderOfYear" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInRemainderOfYear_D97B0EF79B6C2B506DCCDF68267A25BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_77A8EE82493221516287DF68267A2B0D" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInRemainderOfYear_D97B0EF79B6C2B506DCCDF68267A25BD" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearTwo" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearTwo_E9B1C96F3443E0F8CC96DF68267A9673" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_77A8EE82493221516287DF68267A2B0D" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearTwo_E9B1C96F3443E0F8CC96DF68267A9673" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearThree" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearThree_CC527047ABDFA52B53B2DF68267A64DB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_77A8EE82493221516287DF68267A2B0D" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearThree_CC527047ABDFA52B53B2DF68267A64DB" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearFour" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFour_A90A274610E1D229E4FBDF68267A3BBE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_77A8EE82493221516287DF68267A2B0D" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFour_A90A274610E1D229E4FBDF68267A3BBE" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearFive" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFive_285A90D728A4719BEC01DF68267B87F7" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_77A8EE82493221516287DF68267A2B0D" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFive_285A90D728A4719BEC01DF68267B87F7" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_UnbilledReceivablesExpectedToBeBilledThereafter" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledThereafter_534926BBEC9F4DDA7D42DF68267B98B5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_77A8EE82493221516287DF68267A2B0D" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledThereafter_534926BBEC9F4DDA7D42DF68267B98B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate" xlink:label="loc_us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate_FF4DE506C90CC8BDBBF6DF68267B0D5A" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_77A8EE82493221516287DF68267A2B0D" xlink:to="loc_us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate_FF4DE506C90CC8BDBBF6DF68267B0D5A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/ScheduleIiScheduleOfValuationAndQualifyingAccounts" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ScheduleIiScheduleOfValuationAndQualifyingAccountsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicArea" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_587FC9BA8B5B50E888DA63DC16330787" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_CE5DF12AF67052EDAF967526E9947D3B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_587FC9BA8B5B50E888DA63DC16330787" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_CE5DF12AF67052EDAF967526E9947D3B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_D1B0C1E5EF775DF487F5B4CD3B3FFF80" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_CE5DF12AF67052EDAF967526E9947D3B" xlink:to="loc_us-gaap_StatementGeographicalAxis_D1B0C1E5EF775DF487F5B4CD3B3FFF80" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_9A8BDB452F1309DBB22847E71B0FB02C_FB6578C4586055499EEF98C871E06923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_D1B0C1E5EF775DF487F5B4CD3B3FFF80" xlink:to="loc_us-gaap_SegmentGeographicalDomain_9A8BDB452F1309DBB22847E71B0FB02C_FB6578C4586055499EEF98C871E06923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_6218DAFF732952C89863951B25DDEE27" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_D1B0C1E5EF775DF487F5B4CD3B3FFF80" xlink:to="loc_us-gaap_SegmentGeographicalDomain_6218DAFF732952C89863951B25DDEE27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_598018D8DBE052B9B7F73BE4CA960735" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_6218DAFF732952C89863951B25DDEE27" xlink:to="loc_country_US_598018D8DBE052B9B7F73BE4CA960735" xlink:type="arc" />
    <link:loc xlink:href="qlys-20181231.xsd#qlys_OtherGeographicAreasMember" xlink:label="loc_qlys_OtherGeographicAreasMember_5978ED45286654D4AB290E7FB2418EDE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_6218DAFF732952C89863951B25DDEE27" xlink:to="loc_qlys_OtherGeographicAreasMember_5978ED45286654D4AB290E7FB2418EDE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NumberOfOperatingSegments" xlink:label="loc_us-gaap_NumberOfOperatingSegments_3538EDDC5A98544FB884A2B997336375" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_587FC9BA8B5B50E888DA63DC16330787" xlink:to="loc_us-gaap_NumberOfOperatingSegments_3538EDDC5A98544FB884A2B997336375" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_A29BBADE0CCA5EB5B8EF2BB74A677855" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_587FC9BA8B5B50E888DA63DC16330787" xlink:to="loc_us-gaap_Revenues_A29BBADE0CCA5EB5B8EF2BB74A677855" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_B07C773F0C755C27A7547280CD8C964B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_587FC9BA8B5B50E888DA63DC16330787" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_B07C773F0C755C27A7547280CD8C964B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaTables" xlink:type="extended" />
</link:linkbase>
